summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/m_can/Kconfig
diff options
context:
space:
mode:
authorDavid Cohen <david.a.cohen@linux.intel.com>2014-10-15 14:41:50 -0700
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-11-18 21:35:02 +0100
commitefe22286e05751e9913a8002fefdb45cdb7361ad (patch)
tree5e98ac08639383777ff42dc840608c81b570afb0 /drivers/net/can/m_can/Kconfig
parentd6fdb38b4f2c4090e176aa55fe73dd2f45cfa4a6 (diff)
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>
Diffstat (limited to 'drivers/net/can/m_can/Kconfig')
-rw-r--r--drivers/net/can/m_can/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/m_can/Kconfig b/drivers/net/can/m_can/Kconfig
index fca5482c09a..04f20dd3900 100644
--- a/drivers/net/can/m_can/Kconfig
+++ b/drivers/net/can/m_can/Kconfig
@@ -1,4 +1,5 @@
config CAN_M_CAN
+ depends on HAS_IOMEM
tristate "Bosch M_CAN devices"
---help---
Say Y here if you want to support for Bosch M_CAN controller.