aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-05-04 15:01:25 -0400
committerWim Van Sebroeck <wim@iguana.be>2015-06-22 09:54:23 -0400
commit6960d4851f72148182892de68ea2a3ea2f525d4c (patch)
tree6b027ba26862a04ef7781576e6ee1151ae010e3f
parent8c7c72c9bcd4bc76a2c04d6e1d06340082d399ec (diff)
watchdog: cadence: Add dependency on HAS_IOMEM
Not all architectures have io memory. Fixes: drivers/built-in.o: In function `cdns_wdt_probe': cadence_wdt.c:(.text+0x33b7c9): undefined reference to `devm_ioremap_resource' Signed-off-by: Richard Weinberger <richard@nod.at> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
-rw-r--r--drivers/watchdog/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index af5c490eb466..a8f29ea9188d 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -169,6 +169,7 @@ config AT91SAM9X_WATCHDOG
169 169
170config CADENCE_WATCHDOG 170config CADENCE_WATCHDOG
171 tristate "Cadence Watchdog Timer" 171 tristate "Cadence Watchdog Timer"
172 depends on HAS_IOMEM
172 select WATCHDOG_CORE 173 select WATCHDOG_CORE
173 help 174 help
174 Say Y here if you want to include support for the watchdog 175 Say Y here if you want to include support for the watchdog