Skip to content

Commit

Permalink
bcm63xx_uart: Fix serial driver compile breakage.
Browse files Browse the repository at this point in the history
The driver missed a small API change while sitting in Ralf's tree, this
patch makes it compile again.

Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Maxime Bizon authored and Greg Kroah-Hartman committed Dec 1, 2009
1 parent 8627b96 commit b037179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/serial/bcm63xx_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* serial port */
max_count = 32;
tty = port->info->port.tty;
tty = port->state->port.tty;
do {
unsigned int iestat, c, cstat;
char flag;
Expand Down Expand Up @@ -318,7 +318,7 @@ static void bcm_uart_do_tx(struct uart_port *port)
return;
}

xmit = &port->info->xmit;
xmit = &port->state->xmit;
if (uart_circ_empty(xmit))
goto txq_empty;

Expand Down

0 comments on commit b037179

Please sign in to comment.