Skip to content

Commit 1ccfe6f

Browse files
richardweinbergerWim Van Sebroeck
authored andcommitted
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: Richard Weinberger <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 34a9bff commit 1ccfe6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/watchdog/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ config SA1100_WATCHDOG
223223

224224
config DW_WATCHDOG
225225
tristate "Synopsys DesignWare watchdog"
226+
depends on HAS_IOMEM
226227
help
227228
Say Y here if to include support for the Synopsys DesignWare
228229
watchdog timer found in many chips.

0 commit comments

Comments
 (0)