ARM: imx: dynamically register imx-uart devices (imx31)
[linux-2.6-block.git] / arch / arm / mach-mx3 / devices.h
index 9380cd998278bc74279f9f514313b4c753eaadc3..5a156f1d328207f5ab2c42ee6cc297129b39aecf 100644 (file)
@@ -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;