From: Imre Kaloz Date: Thu, 11 Oct 2012 09:51:35 +0000 (+0000) Subject: fix (really this time) laguna UART config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=88a740ff809de0c9cecd3189fccf550bbcb57db8;p=openwrt%2Fstaging%2Fnbd.git 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 = {