public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ds2760_battery: add HAS_IOMEM dependency
@ 2010-09-23 10:44 Martin Schwidefsky
  2010-09-23 10:57 ` Anton Vorontsov
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Schwidefsky @ 2010-09-23 10:44 UTC (permalink / raw)
  To: linux-kernel, Anton Vorontsov

From: Martin Schwidefsky <schwidefsky@de.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@mail.ru>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-23 13:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-23 10:44 [PATCH] ds2760_battery: add HAS_IOMEM dependency Martin Schwidefsky
2010-09-23 10:57 ` Anton Vorontsov
2010-09-23 13:21   ` Martin Schwidefsky
2010-09-23 13:38     ` Anton Vorontsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox