Commit 6960d4851f72148182892de68ea2a3ea2f525d4c

Authored by Richard Weinberger
Committed by Wim Van Sebroeck
1 parent 8c7c72c9bc

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/watchdog/Kconfig
... ... @@ -169,6 +169,7 @@
169 169  
170 170 config CADENCE_WATCHDOG
171 171 tristate "Cadence Watchdog Timer"
  172 + depends on HAS_IOMEM
172 173 select WATCHDOG_CORE
173 174 help
174 175 Say Y here if you want to include support for the watchdog