summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx2/devices.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-02-04 22:04:32 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-02-08 11:47:00 +0100
commit68c94b40b31926f627573a7f656b903f6644744e (patch)
tree72e5a275ddaf6a2a62aff502b1675f7fd8642756 /arch/arm/mach-mx2/devices.h
parente27bf72465f4d867a2aea33cad5e9e255c4d92ff (diff)
arm/mx2: use cpp magic to create spi_imx devices
This makes the source shorter and easier to verify. While at it switch to use the SoC-prefixed constants. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx2/devices.h')
-rw-r--r--arch/arm/mach-mx2/devices.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx2/devices.h b/arch/arm/mach-mx2/devices.h
index 97306aa18f1c..e13a352f0b8a 100644
--- a/arch/arm/mach-mx2/devices.h
+++ b/arch/arm/mach-mx2/devices.h
@@ -25,6 +25,8 @@ extern struct platform_device mxc_usbh1;
extern struct platform_device mxc_usbh2;
extern struct platform_device mxc_spi_device0;
extern struct platform_device mxc_spi_device1;
+#ifdef CONFIG_MACH_MX27
extern struct platform_device mxc_spi_device2;
+#endif
extern struct platform_device imx_ssi_device0;
extern struct platform_device imx_ssi_device1;