can: m_can: add CONFIG_HAS_IOMEM dependence
authorDavid Cohen <david.a.cohen@linux.intel.com>
Wed, 15 Oct 2014 21:41:50 +0000 (14:41 -0700)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 18 Nov 2014 20:35:02 +0000 (21:35 +0100)
commitefe22286e05751e9913a8002fefdb45cdb7361ad
tree5e98ac08639383777ff42dc840608c81b570afb0
parentd6fdb38b4f2c4090e176aa55fe73dd2f45cfa4a6
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>
drivers/net/can/m_can/Kconfig