fix (really this time) laguna UART config

Properly terminate the correct platform resource for laguna UARTs

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33721
This commit is contained in:
Imre Kaloz 2012-10-11 09:51:35 +00:00
parent 9b22ca8042
commit 88a740ff80

View file

@ -356,7 +356,6 @@
+ .end = CNS3XXX_UART2_BASE + SZ_4K - 1, + .end = CNS3XXX_UART2_BASE + SZ_4K - 1,
+ .flags = IORESOURCE_MEM + .flags = IORESOURCE_MEM
+ }, + },
+ { },
+}; +};
+ +
+static struct plat_serial8250_port laguna_uart_data[] = { +static struct plat_serial8250_port laguna_uart_data[] = {
@ -388,6 +387,7 @@
+ .uartclk = 24000000, + .uartclk = 24000000,
+ .type = PORT_16550A, + .type = PORT_16550A,
+ }, + },
+ { },
+}; +};
+ +
+static struct platform_device laguna_uart = { +static struct platform_device laguna_uart = {