Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efe22286 authored by David Cohen's avatar David Cohen Committed by Marc Kleine-Budde
Browse files

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: default avatarDavid Cohen <david.a.cohen@linux.intel.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent d6fdb38b
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
config CAN_M_CAN
config CAN_M_CAN
	depends on HAS_IOMEM
	tristate "Bosch M_CAN devices"
	tristate "Bosch M_CAN devices"
	---help---
	---help---
	  Say Y here if you want to support for Bosch M_CAN controller.
	  Say Y here if you want to support for Bosch M_CAN controller.