can: ctucanfd: platform: add missing dependency to HAS_IOMEM
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 23 May 2022 12:33:44 +0000 (14:33 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 23 May 2022 20:00:06 +0000 (22:00 +0200)
commit8f445a3ec3fd36feb90c5b2ef8d21e2492819cdc
tree2d0ebaec7f67cd9a7a9d2eb11e7ff7350d452986
parent3e88445a3a5afc65929c578fe2ffc03420588993
can: ctucanfd: platform: add missing dependency to HAS_IOMEM

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/20220523123720.1656611-1-mkl@pengutronix.de
Fixes: e8f0c23a2415 ("can: ctucanfd: CTU CAN FD open-source IP core - platform/SoC support.")
Reported-by: kernel test robot <lkp@intel.com>
Acked-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Cc: Ondrej Ille <ondrej.ille@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/ctucanfd/Kconfig