Explorar o código

fix (really this time) laguna UART config

Properly terminate the correct platform resource for laguna UARTs

Signed-off-by: Tim Harvey <[email protected]>

SVN-Revision: 33721
Imre Kaloz %!s(int64=13) %!d(string=hai) anos
pai
achega
88a740ff80
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      target/linux/cns3xxx/patches-3.3/300-laguna_support.patch

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

@@ -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 = {