watchdog: sirfsoc: Add missing dependency on HAS_IOMEM
authorGuenter Roeck <linux@roeck-us.net>
Sun, 8 Nov 2020 16:25:50 +0000 (08:25 -0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 13 Dec 2020 15:17:38 +0000 (16:17 +0100)
commit8ae2511112d2e18bc7d324b77f965d34083a25a2
tree3cc063f8e64ca0b5081b53c44cef8b37fcf227c1
parent7f6f1dfb2dcbe5d2bfa213f2df5d74c147cd5954
watchdog: sirfsoc: Add missing dependency on HAS_IOMEM

If HAS_IOMEM is not defined and SIRFSOC_WATCHDOG is enabled,
the build fails with the following error.

drivers/watchdog/sirfsoc_wdt.o: in function `sirfsoc_wdt_probe':
sirfsoc_wdt.c:(.text+0x112):
undefined reference to `devm_platform_ioremap_resource'

Reported-by: Necip Fazil Yildiran <fazilyildiran@gmail.com>
Fixes: da2a68b3eb47 ("watchdog: Enable COMPILE_TEST where possible")
Link: https://lore.kernel.org/r/20201108162550.27660-2-linux@roeck-us.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/Kconfig