[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100923124445.5309c100@mschwide.boeblingen.de.ibm.com>
Date: Thu, 23 Sep 2010 12:44:45 +0200
From: Martin Schwidefsky <schwidefsky@...ibm.com>
To: linux-kernel@...r.kernel.org, Anton Vorontsov <cbou@...l.ru>
Subject: [PATCH] ds2760_battery: add HAS_IOMEM dependency
From: Martin Schwidefsky <schwidefsky@...ibm.com>
Fix this Kconfig warning on allmodconfig for s390:
warning: (BATTERY_DS2760 && POWER_SUPPLY) selects W1 which has unmet direct dependencies (HAS_IOMEM)
Cc: Anton Vorontsov <cbou@...l.ru>
Signed-off-by: Martin Schwidefsky <schwidefsky@...ibm.com>
---
drivers/power/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff -urpN linux-2.6/drivers/power/Kconfig linux-2.6-patched/drivers/power/Kconfig
--- linux-2.6/drivers/power/Kconfig 2010-09-23 08:47:36.000000000 +0200
+++ linux-2.6-patched/drivers/power/Kconfig 2010-09-23 08:47:39.000000000 +0200
@@ -64,6 +64,7 @@ config TEST_POWER
config BATTERY_DS2760
tristate "DS2760 battery driver (HP iPAQ & others)"
+ depends on HAS_IOMEM
select W1
select W1_SLAVE_DS2760
help
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists