diff options
Diffstat (limited to 'arch/arm/mach-mx2/serial.c')
-rw-r--r-- | arch/arm/mach-mx2/serial.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mx2/serial.c b/arch/arm/mach-mx2/serial.c index 16debc296dad..40a485cdc10e 100644 --- a/arch/arm/mach-mx2/serial.c +++ b/arch/arm/mach-mx2/serial.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/serial.h> | 22 | #include <linux/serial.h> |
23 | #include <mach/hardware.h> | 23 | #include <mach/hardware.h> |
24 | #include <mach/imx-uart.h> | 24 | #include <mach/imx-uart.h> |
25 | #include "devices.h" | ||
25 | 26 | ||
26 | static struct resource uart0[] = { | 27 | static struct resource uart0[] = { |
27 | { | 28 | { |
@@ -99,6 +100,7 @@ struct platform_device mxc_uart_device3 = { | |||
99 | .num_resources = ARRAY_SIZE(uart3), | 100 | .num_resources = ARRAY_SIZE(uart3), |
100 | }; | 101 | }; |
101 | 102 | ||
103 | #ifdef CONFIG_MACH_MX27 | ||
102 | static struct resource uart4[] = { | 104 | static struct resource uart4[] = { |
103 | { | 105 | { |
104 | .start = UART5_BASE_ADDR, | 106 | .start = UART5_BASE_ADDR, |
@@ -136,3 +138,4 @@ struct platform_device mxc_uart_device5 = { | |||
136 | .resource = uart5, | 138 | .resource = uart5, |
137 | .num_resources = ARRAY_SIZE(uart5), | 139 | .num_resources = ARRAY_SIZE(uart5), |
138 | }; | 140 | }; |
141 | #endif | ||