dect
/
linux-2.6
Archived
13
0
Fork 0

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: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Maxime Bizon 2009-11-15 05:42:18 +01:00 committed by Greg Kroah-Hartman
parent 8627b96dd8
commit b037179f7a
1 changed files with 2 additions and 2 deletions

View File

@ -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;
@ -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;