diff options
author | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-10-28 12:44:16 +0400 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-10-28 12:59:52 +0400 |
commit | 23886839a752401aba66517bff8a8b91549279ce (patch) | |
tree | d6bb59db0d6a8ca8c49e2bf7b18699b393600fb0 | |
parent | 81280572ca6f54009edfa4deee563e8678784218 (diff) | |
download | op-kernel-dev-23886839a752401aba66517bff8a8b91549279ce.zip op-kernel-dev-23886839a752401aba66517bff8a8b91549279ce.tar.gz |
power_supply: Mark twl4030_charger as broken
The driver is not buildable without MFD changes. For now, let's
disable the driver as it breaks build for major platforms (i.e. x86).
CC [M] drivers/power/twl4030_charger.o
drivers/power/twl4030_charger.c: In function 'twl4030_clear_set_boot_bci':
drivers/power/twl4030_charger.c:105: error: 'TWL4030_PM_MASTER_BOOT_BCI' undeclared (first use in this function)
drivers/power/twl4030_charger.c:105: error: (Each undeclared identifier is reported only once
drivers/power/twl4030_charger.c:105: error: for each function it appears in.)
drivers/power/twl4030_charger.c: In function 'twl4030_bci_have_vbus':
drivers/power/twl4030_charger.c:137: error: 'TWL4030_PM_MASTER_STS_HW_CONDITIONS' undeclared (first use in this function)
drivers/power/twl4030_charger.c: In function 'twl4030_bci_probe':
drivers/power/twl4030_charger.c:477: warning: overflow in implicit constant conversion
drivers/power/twl4030_charger.c:485: warning: overflow in implicit constant conversion
make[2]: *** [drivers/power/twl4030_charger.o] Error 1
We can re-enable it if MFD tree will finally merge into 2.6.37.
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
-rw-r--r-- | drivers/power/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 60d83d9..ec44477 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -182,6 +182,7 @@ config CHARGER_ISP1704 config CHARGER_TWL4030 tristate "OMAP TWL4030 BCI charger driver" depends on TWL4030_CORE + depends on BROKEN help Say Y here to enable support for TWL4030 Battery Charge Interface. |