Skip to content

Commit

Permalink
watchdog: dw_wdt: Add dependency on HAS_IOMEM
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
richardweinberger authored and Wim Van Sebroeck committed Feb 8, 2014
1 parent 34a9bff commit 1ccfe6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/watchdog/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ config SA1100_WATCHDOG

config DW_WATCHDOG
tristate "Synopsys DesignWare watchdog"
depends on HAS_IOMEM
help
Say Y here if to include support for the Synopsys DesignWare
watchdog timer found in many chips.
Expand Down

0 comments on commit 1ccfe6f

Please sign in to comment.