dd1713a4d6e83594e113c4caf19079f461947a89
[openwrt/svn-archive/archive.git] / target / linux / xburst / patches-2.6.32 / 106-gpio-charger.patch
1 --- a/drivers/power/Makefile 2010-02-03 13:16:32.000000000 +0100
2 +++ b/drivers/power/Makefile 2010-02-01 14:55:46.000000000 +0100
3 @@ -30,3 +30,4 @@
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 2010-02-03 13:16:32.000000000 +0100
9 +++ b/drivers/power/Kconfig 2010-02-01 14:58:24.000000000 +0100
10 @@ -121,4 +121,11 @@
11 This driver can be build as a module. If so, the module will be
12 called jz4740-battery.
13
14 +config CHARGER_GPIO
15 + tristate "GPIO charger"
16 + depends on GPIOLIB
17 + help
18 + Say Y to include support for chargers indicating their status through
19 + a GPIO pin.
20 +
21 endif # POWER_SUPPLY