1 --- a/drivers/power/Makefile
2 +++ b/drivers/power/Makefile
3 @@ -30,3 +30,4 @@ obj-$(CONFIG_BATTERY_DA9030) += da9030_b
4 obj-$(CONFIG_BATTERY_MAX17040) += max17040_battery.o
5 obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o
6 obj-$(CONFIG_BATTERY_JZ4740) += jz4740-battery.o
7 +obj-$(CONFIG_CHARGER_GPIO) += gpio-charger.o
8 --- a/drivers/power/Kconfig
9 +++ b/drivers/power/Kconfig
10 @@ -121,4 +121,11 @@ config BATTERY_JZ4740
11 This driver can be build as a module. If so, the module will be
12 called jz4740-battery.
15 + tristate "GPIO charger"
18 + Say Y to include support for chargers indicating their status through