2010-03-17 15:07:36 +00:00
|
|
|
--- a/drivers/power/Makefile
|
|
|
|
+++ b/drivers/power/Makefile
|
|
|
|
@@ -30,3 +30,4 @@ obj-$(CONFIG_BATTERY_DA9030) += da9030_b
|
2010-02-03 13:16:23 +00:00
|
|
|
obj-$(CONFIG_BATTERY_MAX17040) += max17040_battery.o
|
|
|
|
obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o
|
|
|
|
obj-$(CONFIG_BATTERY_JZ4740) += jz4740-battery.o
|
|
|
|
+obj-$(CONFIG_CHARGER_GPIO) += gpio-charger.o
|
2010-03-17 15:07:36 +00:00
|
|
|
--- a/drivers/power/Kconfig
|
|
|
|
+++ b/drivers/power/Kconfig
|
|
|
|
@@ -121,4 +121,11 @@ config BATTERY_JZ4740
|
2010-02-03 13:16:23 +00:00
|
|
|
This driver can be build as a module. If so, the module will be
|
|
|
|
called jz4740-battery.
|
|
|
|
|
|
|
|
+config CHARGER_GPIO
|
|
|
|
+ tristate "GPIO charger"
|
|
|
|
+ depends on GPIOLIB
|
|
|
|
+ help
|
|
|
|
+ Say Y to include support for chargers indicating their status through
|
|
|
|
+ a GPIO pin.
|
|
|
|
+
|
|
|
|
endif # POWER_SUPPLY
|