aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/bcm63xx_uart.c
diff options
context:
space:
mode:
authorMaxime Bizon <mbizon@freebox.fr>2009-11-14 23:42:18 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-11-30 19:38:32 -0500
commitb037179f7a4fff7bd8279b0568a7dc663ebc9d15 (patch)
tree1a0ad159ddea86a1d6e934cc4e64e95e70df3345 /drivers/serial/bcm63xx_uart.c
parent8627b96dd80dca440d91fbb1ec733be25912d0dd (diff)
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>
Diffstat (limited to 'drivers/serial/bcm63xx_uart.c')
-rw-r--r--drivers/serial/bcm63xx_uart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/bcm63xx_uart.c b/drivers/serial/bcm63xx_uart.c
index beddaa6e9069..37ad0c449937 100644
--- a/drivers/serial/bcm63xx_uart.c
+++ b/drivers/serial/bcm63xx_uart.c
@@ -242,7 +242,7 @@ static void bcm_uart_do_rx(struct uart_port *port)
242 * higher than fifo size anyway since we're much faster than 242 * higher than fifo size anyway since we're much faster than
243 * serial port */ 243 * serial port */
244 max_count = 32; 244 max_count = 32;
245 tty = port->info->port.tty; 245 tty = port->state->port.tty;
246 do { 246 do {
247 unsigned int iestat, c, cstat; 247 unsigned int iestat, c, cstat;
248 char flag; 248 char flag;
@@ -318,7 +318,7 @@ static void bcm_uart_do_tx(struct uart_port *port)
318 return; 318 return;
319 } 319 }
320 320
321 xmit = &port->info->xmit; 321 xmit = &port->state->xmit;
322 if (uart_circ_empty(xmit)) 322 if (uart_circ_empty(xmit))
323 goto txq_empty; 323 goto txq_empty;
324 324