summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/devices.h
diff options
context:
space:
mode:
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;