[PATCH 2/3] watchdog: get rid of FOOTBRIDGE in dependencies

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Tue Jul 1 13:37:05 PDT 2014


The Kconfig symbol FOOTBRIDGE is only defined if ARCH_FOOTBRIDGE is
enabled and the latter unconditionally selects the former. So they are
either both selected or none and so they are equivalent. To allow
removing FOOTBRIDGE switch the dependency of 21285_WATCHDOG to
ARCH_FOOTBRIDGE. As ARCH_NETWINDER depends on ARCH_FOOTBRIDGE dropping
FOOTBRIDGE from 977_WATCHDOG's "depends on FOOTBRIDGE && ARCH_NETWINDER"
doesn't change anything.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
---
Cc: Wim Van Sebroeck <wim at iguana.be>
Cc: linux-watchdog at vger.kernel.org
---
 drivers/watchdog/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 76dd54122f76..0dc12d6de265 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -149,7 +149,7 @@ config AT91SAM9X_WATCHDOG
 
 config 21285_WATCHDOG
 	tristate "DC21285 watchdog"
-	depends on FOOTBRIDGE
+	depends on ARCH_FOOTBRIDGE
 	help
 	  The Intel Footbridge chip contains a built-in watchdog circuit. Say Y
 	  here if you wish to use this. Alternatively say M to compile the
@@ -163,7 +163,7 @@ config 21285_WATCHDOG
 
 config 977_WATCHDOG
 	tristate "NetWinder WB83C977 watchdog"
-	depends on FOOTBRIDGE && ARCH_NETWINDER
+	depends on ARCH_NETWINDER
 	help
 	  Say Y here to include support for the WB977 watchdog included in
 	  NetWinder machines. Alternatively say M to compile the driver as
-- 
2.0.0




More information about the linux-arm-kernel mailing list