diff options
author | Anton Vorontsov <cbouatmailru@gmail.com> | 2012-01-09 19:53:37 -0500 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2012-01-09 20:14:10 -0500 |
commit | 6cfc2a23540667cff6da6e41d1f1167a9a45aa9a (patch) | |
tree | 63b8f747b5235a8138e4aeccb4519a1cadb559ac /drivers/power | |
parent | 93278d151e7bd35ccd0e083d7f2d8123cbaf36f8 (diff) |
power_supply: Mark da9052 driver as broken
There are some problems with MFD part of this driver, so the
driver fails to build:
drivers/power/da9052-battery.c: In function 'da9052_bat_read_volt':
drivers/power/da9052-battery.c:293:2: error: implicit declaration of function 'da9052_adc_manual_read' [-Werror=implicit-function-declaration]
drivers/power/da9052-battery.c: In function 'da9052_bat_check_presence':
drivers/power/da9052-battery.c:306:2: error: implicit declaration of function 'da9052_adc_read_temp' [-Werror=implicit-function-declaration]
drivers/power/da9052-battery.c: In function 'da9052_determine_vc_tbl_index':
drivers/power/da9052-battery.c:348:1: warning: control reaches end of non-void function [-Wreturn-type]
cc1: some warnings being treated as errors
The fix for MFD part will probably go post -rc1 (or in the next merge
window), so let's disable the driver for now.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power')
-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 ecc1b49c25dd..3a8daf858742 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig | |||
@@ -153,6 +153,7 @@ config BATTERY_DA9030 | |||
153 | config BATTERY_DA9052 | 153 | config BATTERY_DA9052 |
154 | tristate "Dialog DA9052 Battery" | 154 | tristate "Dialog DA9052 Battery" |
155 | depends on PMIC_DA9052 | 155 | depends on PMIC_DA9052 |
156 | depends on BROKEN | ||
156 | help | 157 | help |
157 | Say Y here to enable support for batteries charger integrated into | 158 | Say Y here to enable support for batteries charger integrated into |
158 | DA9052 PMIC. | 159 | DA9052 PMIC. |