From 31c2f1a4d2f558882ff5c43da12960ab22fee69f Mon Sep 17 00:00:00 2001
From: Imre Kaloz <kaloz@openwrt.org>
Date: Thu, 11 Oct 2012 07:47:27 +0000
Subject: [PATCH] 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
---
 target/linux/cns3xxx/patches-3.3/300-laguna_support.patch | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch b/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch
index b42606b508..ac8888ac89 100644
--- a/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch
+++ b/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch
@@ -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[] = {
-- 
GitLab