Skip to content

Commit efe2228

Browse files
David Cohenmarckleinebudde
authored andcommitted
can: m_can: add CONFIG_HAS_IOMEM dependence
m_can uses io memory which makes it not compilable on architectures without HAS_IOMEM such as UML: drivers/built-in.o: In function `m_can_plat_probe': m_can.c:(.text+0x218cc5): undefined reference to `devm_ioremap_resource' m_can.c:(.text+0x218df9): undefined reference to `devm_ioremap' Signed-off-by: David Cohen <david.a.cohen@linux.intel.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
1 parent d6fdb38 commit efe2228

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/net/can/m_can/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
config CAN_M_CAN
2+
depends on HAS_IOMEM
23
tristate "Bosch M_CAN devices"
34
---help---
45
Say Y here if you want to support for Bosch M_CAN controller.

0 commit comments

Comments
 (0)