aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/Kconfig
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2010-09-23 09:21:36 -0400
committerAnton Vorontsov <cbouatmailru@gmail.com>2010-09-23 09:33:28 -0400
commitf6127b8645207b4cb43e7456214c6add7c37cdc1 (patch)
treed80933204a74f5a76fbba06a7a367e9cb85d9bd5 /drivers/power/Kconfig
parent305da8f504dc82ccc0e0ca9aa1889de9e2517090 (diff)
ds2760_battery: Fix W1 and W1_SLAVE_DS2760 dependency
Fix this Kconfig warning on allmodconfig for s390: warning: (BATTERY_DS2760 && POWER_SUPPLY) selects W1 which has unmet direct dependencies (HAS_IOMEM) Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r--drivers/power/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 4d9a637539b6..0e98b20d4c22 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -64,8 +64,7 @@ config TEST_POWER
64 64
65config BATTERY_DS2760 65config BATTERY_DS2760
66 tristate "DS2760 battery driver (HP iPAQ & others)" 66 tristate "DS2760 battery driver (HP iPAQ & others)"
67 select W1 67 depends on W1 && W1_SLAVE_DS2760
68 select W1_SLAVE_DS2760
69 help 68 help
70 Say Y here to enable support for batteries with ds2760 chip. 69 Say Y here to enable support for batteries with ds2760 chip.
71 70