From: Maxime Bizon Date: Sun, 15 Nov 2009 04:42:18 +0000 (+0100) Subject: bcm63xx_uart: Fix serial driver compile breakage. X-Git-Tag: v2.6.32~23^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b037179f7a4fff7bd8279b0568a7dc663ebc9d15;p=profile%2Fcommon%2Fkernel-common.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/serial/bcm63xx_uart.c b/drivers/serial/bcm63xx_uart.c index beddaa6..37ad0c4 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) * 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;