Commit 1ccfe6f9 authored by Richard Weinberger's avatar Richard Weinberger Committed by Wim Van Sebroeck

watchdog: dw_wdt: Add dependency on HAS_IOMEM

On archs like S390 or um this driver cannot build nor work.
Make it depend on HAS_IOMEM to bypass build failures.

drivers/built-in.o: In function `dw_wdt_drv_probe':
drivers/watchdog/dw_wdt.c:302: undefined reference to `devm_ioremap_resource'
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 34a9bff4
...@@ -223,6 +223,7 @@ config SA1100_WATCHDOG ...@@ -223,6 +223,7 @@ config SA1100_WATCHDOG
config DW_WATCHDOG config DW_WATCHDOG
tristate "Synopsys DesignWare watchdog" tristate "Synopsys DesignWare watchdog"
depends on HAS_IOMEM
help help
Say Y here if to include support for the Synopsys DesignWare Say Y here if to include support for the Synopsys DesignWare
watchdog timer found in many chips. watchdog timer found in many chips.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment