From: kaloz Date: Thu, 11 Oct 2012 09:51:35 +0000 (+0000) Subject: [cns3xxx]: fix (really this time) laguna UART config X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=b2305bd3614441f1a0436ed0070b7729a6a45f20 [cns3xxx]: fix (really this time) laguna UART config Properly terminate the correct platform resource for laguna UARTs Signed-off-by: Tim Harvey git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33721 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 ac8888ac89..ee2a60434b 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 = {