imx: dynamically register flexcan devices for mx25 and mx35
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 22 Jul 2010 09:45:34 +0000 (11:45 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 26 Jul 2010 13:05:29 +0000 (15:05 +0200)
commit61c68502321d94a421f9a2a32f6789ecb27f382d
treef11a63bf01c5438d5c44deb14e45f38d85aec243
parenta7d945a469ee566bde26217362c95f29acfbd14a
imx: dynamically register flexcan devices for mx25 and mx35

In order to make this patch compile, even if the flexcan driver with
it's header defining the platform data isn't merged yet, two ifdefs have
been added. They effect that the "imx_add_flexcan" function results in a
no-op function if the driver hasn't been activated.

These ifdefs can be removed after the flexcan driver has been merged.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx25/devices-imx25.h
arch/arm/mach-mx3/devices-imx35.h
arch/arm/plat-mxc/devices/Kconfig
arch/arm/plat-mxc/devices/Makefile
arch/arm/plat-mxc/devices/platform-flexcan.c [new file with mode: 0644]
arch/arm/plat-mxc/include/mach/devices-common.h