Commit a312e614 authored by Philippe Gerum's avatar Philippe Gerum

serial/xilinx: fix access to raw console uart

parent f0157f47
......@@ -1221,7 +1221,7 @@ static void cdns_uart_console_write(struct console *co, const char *s,
static void cdns_uart_console_write_raw(struct console *co, const char *s,
unsigned int count)
{
struct uart_port *port = &cdns_uart_port[co->index];
struct uart_port *port = console_port;
unsigned int imr, ctrl;
imr = readl(port->membase + CDNS_UART_IMR);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment