[cns3xxx]: fix (really this time) laguna UART config
authorImre Kaloz <kaloz@openwrt.org>
Thu, 11 Oct 2012 09:51:35 +0000 (09:51 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Thu, 11 Oct 2012 09:51:35 +0000 (09:51 +0000)
Properly terminate the correct platform resource for laguna UARTs

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33721 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/cns3xxx/patches-3.3/300-laguna_support.patch

index ac8888a..ee2a604 100644 (file)
 +              .end   = CNS3XXX_UART2_BASE + SZ_4K - 1,
 +              .flags    = IORESOURCE_MEM
 +      },
-+      { },
 +};
 +
 +static struct plat_serial8250_port laguna_uart_data[] = {
 +              .uartclk        = 24000000,
 +              .type           = PORT_16550A,
 +      },
++      { },
 +};
 +
 +static struct platform_device laguna_uart = {