diff options
-rw-r--r-- | drivers/tty/serial/xilinx_uartps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index b8fbd4767c17..b0c2862a3daf 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c | |||
@@ -1010,7 +1010,7 @@ static struct uart_ops cdns_uart_ops = { | |||
1010 | #endif | 1010 | #endif |
1011 | }; | 1011 | }; |
1012 | 1012 | ||
1013 | static struct uart_port cdns_uart_port[2]; | 1013 | static struct uart_port cdns_uart_port[CDNS_UART_NR_PORTS]; |
1014 | 1014 | ||
1015 | /** | 1015 | /** |
1016 | * cdns_uart_get_port - Configure the port from platform device resource info | 1016 | * cdns_uart_get_port - Configure the port from platform device resource info |