diff options
author | Guenter Roeck <linux@roeck-us.net> | 2020-11-08 08:25:49 -0800 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2020-12-13 16:17:37 +0100 |
commit | 7f6f1dfb2dcbe5d2bfa213f2df5d74c147cd5954 (patch) | |
tree | d6bc180c43b7d1fea10aeaa7d4391abbc9b25c99 /drivers/watchdog/coh901327_wdt.c | |
parent | 6bff9bb8a292668e7da3e740394b061e5201f683 (diff) |
watchdog: armada_37xx: Add missing dependency on HAS_IOMEM
The following kbuild warning is seen on a system without HAS_IOMEM.
WARNING: unmet direct dependencies detected for MFD_SYSCON
Depends on [n]: HAS_IOMEM [=n]
Selected by [y]:
- ARMADA_37XX_WATCHDOG [=y] && WATCHDOG [=y] && (ARCH_MVEBU || COMPILE_TEST
This results in a subsequent compile error.
drivers/watchdog/armada_37xx_wdt.o: in function `armada_37xx_wdt_probe':
armada_37xx_wdt.c:(.text+0xdc): undefined reference to `devm_ioremap'
Add the missing dependency.
Reported-by: Necip Fazil Yildiran <fazilyildiran@gmail.com>
Fixes: 54e3d9b518c8 ("watchdog: Add support for Armada 37xx CPU watchdog")
Link: https://lore.kernel.org/r/20201108162550.27660-1-linux@roeck-us.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/coh901327_wdt.c')
0 files changed, 0 insertions, 0 deletions