mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[cns3xxx]: fix (really this time) laguna UART config
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
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user