提交 d42d6108 编写于 作者: R Richard Weinberger 提交者: Wim Van Sebroeck

watchdog: Fix dependencies for !HAS_IOMEM archs

Not every arch has io memory.
So, unbreak the build by fixing the dependencies.
Signed-off-by: NRichard Weinberger <richard@nod.at>
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
上级 df1a3e64
...@@ -146,6 +146,7 @@ config TANGOX_WATCHDOG ...@@ -146,6 +146,7 @@ config TANGOX_WATCHDOG
tristate "Sigma Designs SMP86xx/SMP87xx watchdog" tristate "Sigma Designs SMP86xx/SMP87xx watchdog"
select WATCHDOG_CORE select WATCHDOG_CORE
depends on ARCH_TANGO || COMPILE_TEST depends on ARCH_TANGO || COMPILE_TEST
depends on HAS_IOMEM
help help
Support for the watchdog in Sigma Designs SMP86xx (tango3) Support for the watchdog in Sigma Designs SMP86xx (tango3)
and SMP87xx (tango4) family chips. and SMP87xx (tango4) family chips.
...@@ -618,6 +619,7 @@ config DIGICOLOR_WATCHDOG ...@@ -618,6 +619,7 @@ config DIGICOLOR_WATCHDOG
config LPC18XX_WATCHDOG config LPC18XX_WATCHDOG
tristate "LPC18xx/43xx Watchdog" tristate "LPC18xx/43xx Watchdog"
depends on ARCH_LPC18XX || COMPILE_TEST depends on ARCH_LPC18XX || COMPILE_TEST
depends on HAS_IOMEM
select WATCHDOG_CORE select WATCHDOG_CORE
help help
Say Y here if to include support for the watchdog timer Say Y here if to include support for the watchdog timer
...@@ -1374,6 +1376,7 @@ config BCM_KONA_WDT_DEBUG ...@@ -1374,6 +1376,7 @@ config BCM_KONA_WDT_DEBUG
config BCM7038_WDT config BCM7038_WDT
tristate "BCM7038 Watchdog" tristate "BCM7038 Watchdog"
select WATCHDOG_CORE select WATCHDOG_CORE
depends on HAS_IOMEM
help help
Watchdog driver for the built-in hardware in Broadcom 7038 SoCs. Watchdog driver for the built-in hardware in Broadcom 7038 SoCs.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册