aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/tty/serial/xilinx_uartps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c
index 556062a438cf..f218ec658f5d 100644
--- a/drivers/tty/serial/xilinx_uartps.c
+++ b/drivers/tty/serial/xilinx_uartps.c
@@ -1155,7 +1155,7 @@ static int __init cdns_uart_console_setup(struct console *co, char *options)
1155 if (co->index < 0 || co->index >= CDNS_UART_NR_PORTS) 1155 if (co->index < 0 || co->index >= CDNS_UART_NR_PORTS)
1156 return -EINVAL; 1156 return -EINVAL;
1157 1157
1158 if (!port->mapbase) { 1158 if (!port->membase) {
1159 pr_debug("console on " CDNS_UART_TTY_NAME "%i not present\n", 1159 pr_debug("console on " CDNS_UART_TTY_NAME "%i not present\n",
1160 co->index); 1160 co->index);
1161 return -ENODEV; 1161 return -ENODEV;