mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
The kernel test robot noticed that the ctucanfd platform driver fails
during modpost on platforms that don't support IOMEM.
| ERROR: modpost: "devm_ioremap_resource" [drivers/net/can/ctucanfd/ctucanfd_platform.ko] undefined!
This patch adds the missing HAS_IOMEM dependency.
Link: https://lore.kernel.org/all/[email protected]
Fixes: e8f0c23a24 ("can: ctucanfd: CTU CAN FD open-source IP core - platform/SoC support.")
Reported-by: kernel test robot <[email protected]>
Acked-by: Pavel Pisa <[email protected]>
Cc: Ondrej Ille <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>