Commit b037179f authored by Maxime Bizon's avatar Maxime Bizon Committed by Greg Kroah-Hartman

bcm63xx_uart: Fix serial driver compile breakage.

The driver missed a small API change while sitting in Ralf's tree, this
patch makes it compile again.
Signed-off-by: default avatarMaxime Bizon <mbizon@freebox.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8627b96d
...@@ -242,7 +242,7 @@ static void bcm_uart_do_rx(struct uart_port *port) ...@@ -242,7 +242,7 @@ static void bcm_uart_do_rx(struct uart_port *port)
* higher than fifo size anyway since we're much faster than * higher than fifo size anyway since we're much faster than
* serial port */ * serial port */
max_count = 32; max_count = 32;
tty = port->info->port.tty; tty = port->state->port.tty;
do { do {
unsigned int iestat, c, cstat; unsigned int iestat, c, cstat;
char flag; char flag;
...@@ -318,7 +318,7 @@ static void bcm_uart_do_tx(struct uart_port *port) ...@@ -318,7 +318,7 @@ static void bcm_uart_do_tx(struct uart_port *port)
return; return;
} }
xmit = &port->info->xmit; xmit = &port->state->xmit;
if (uart_circ_empty(xmit)) if (uart_circ_empty(xmit))
goto txq_empty; goto txq_empty;
......
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