Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <richard@nod.at>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

authored by

Richard Weinberger and committed by
Wim Van Sebroeck
1ccfe6f9 34a9bff4

+1
+1
drivers/watchdog/Kconfig
··· 223 223 224 224 config DW_WATCHDOG 225 225 tristate "Synopsys DesignWare watchdog" 226 + depends on HAS_IOMEM 226 227 help 227 228 Say Y here if to include support for the Synopsys DesignWare 228 229 watchdog timer found in many chips.