Properly terminate the correct platform resource for laguna UARTs

Signed-off-by: Tim Harvey <[email protected]>
---
 .../cns3xxx/patches-3.3/300-laguna_support.patch   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 ac8888a..ee2a604 100644
--- a/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch
+++ b/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch
@@ -356,7 +356,6 @@
 +              .end   = CNS3XXX_UART2_BASE + SZ_4K - 1,
 +              .flags    = IORESOURCE_MEM
 +      },
-+      { },
 +};
 +
 +static struct plat_serial8250_port laguna_uart_data[] = {
@@ -388,6 +387,7 @@
 +              .uartclk        = 24000000,
 +              .type           = PORT_16550A,
 +      },
++      { },
 +};
 +
 +static struct platform_device laguna_uart = {
-- 
1.7.5.4

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to