From: Imre Kaloz Date: Thu, 11 Oct 2012 09:51:35 +0000 (+0000) Subject: [cns3xxx]: fix (really this time) laguna UART config X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=23e6e7d7f87aff4da357d2e958a84eaabcf0888b [cns3xxx]: fix (really this time) laguna UART config Properly terminate the correct platform resource for laguna UARTs Signed-off-by: Tim Harvey SVN-Revision: 33721 --- 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 = {