summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/devices.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-23 11:46:16 +0200
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-30 09:00:58 +0200
commit16cf5c41514fd94ff1e8b6be091e4b4732688fa6 (patch)
treeb6c14199c6bac7a174c22a3d05eb48689a81df47 /arch/arm/mach-mx3/devices.h
parentd5dac4a69fe571ec12d999174e0425f2641325d4 (diff)
downloadblackbird-op-linux-16cf5c41514fd94ff1e8b6be091e4b4732688fa6.tar.gz
blackbird-op-linux-16cf5c41514fd94ff1e8b6be091e4b4732688fa6.zip
ARM: imx: dynamically register imx-uart devices (imx31)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/devices.h')
-rw-r--r--arch/arm/mach-mx3/devices.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-mx3/devices.h b/arch/arm/mach-mx3/devices.h
index 9380cd998278..5a156f1d3282 100644
--- a/arch/arm/mach-mx3/devices.h
+++ b/arch/arm/mach-mx3/devices.h
@@ -1,9 +1,8 @@
-
+#if defined(CONFIG_ARCH_MX35)
extern struct platform_device mxc_uart_device0;
extern struct platform_device mxc_uart_device1;
extern struct platform_device mxc_uart_device2;
-extern struct platform_device mxc_uart_device3;
-extern struct platform_device mxc_uart_device4;
+#endif
extern struct platform_device mxc_w1_master_device;
extern struct platform_device mx3_ipu;
extern struct platform_device mx3_fb;
OpenPOWER on IntegriCloud