watchdog: dw_wdt: Add dependency on HAS_IOMEM
authorRichard Weinberger <richard@nod.at>
Fri, 31 Jan 2014 12:47:34 +0000 (13:47 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 8 Feb 2014 08:47:11 +0000 (09:47 +0100)
commit1ccfe6f982674e4b7bd832b904bafcb3db890252
tree9fd7897a840f338661e50cb6813c6c9699573dcd
parent34a9bff4abd4db833c3c338d2f942eafe927ca92
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>
drivers/watchdog/Kconfig