From f6127b8645207b4cb43e7456214c6add7c37cdc1 Mon Sep 17 00:00:00 2001 From: Martin Schwidefsky Date: Thu, 23 Sep 2010 15:21:36 +0200 Subject: 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 Signed-off-by: Anton Vorontsov --- drivers/power/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/power/Kconfig') diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 4d9a637..0e98b20 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -64,8 +64,7 @@ config TEST_POWER config BATTERY_DS2760 tristate "DS2760 battery driver (HP iPAQ & others)" - select W1 - select W1_SLAVE_DS2760 + depends on W1 && W1_SLAVE_DS2760 help Say Y here to enable support for batteries with ds2760 chip. -- cgit v1.1