fix non terminated uart resources for laguna

Resolves crashes when probing multiple serial devices

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33719
This commit is contained in:
Imre Kaloz 2012-10-11 07:47:27 +00:00
parent bc3b111cfd
commit 31c2f1a4d2

View File

@ -1,6 +1,6 @@
--- /dev/null
+++ b/arch/arm/mach-cns3xxx/laguna.c
@@ -0,0 +1,935 @@
@@ -0,0 +1,936 @@
+/*
+ * Gateworks Corporation Laguna Platform
+ *
@ -356,6 +356,7 @@
+ .end = CNS3XXX_UART2_BASE + SZ_4K - 1,
+ .flags = IORESOURCE_MEM
+ },
+ { },
+};
+
+static struct plat_serial8250_port laguna_uart_data[] = {