summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx2/serial.c')
-rw-r--r--arch/arm/mach-mx2/serial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx2/serial.c b/arch/arm/mach-mx2/serial.c
index 16debc2..b9e66fb 100644
--- a/arch/arm/mach-mx2/serial.c
+++ b/arch/arm/mach-mx2/serial.c
@@ -99,6 +99,7 @@ struct platform_device mxc_uart_device3 = {
.num_resources = ARRAY_SIZE(uart3),
};
+#ifdef CONFIG_MACH_MX27
static struct resource uart4[] = {
{
.start = UART5_BASE_ADDR,
@@ -136,3 +137,4 @@ struct platform_device mxc_uart_device5 = {
.resource = uart5,
.num_resources = ARRAY_SIZE(uart5),
};
+#endif
OpenPOWER on IntegriCloud