]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
bcm63xx_uart: Fix serial driver compile breakage.
authorMaxime Bizon <mbizon@freebox.fr>
Sun, 15 Nov 2009 04:42:18 +0000 (05:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 1 Dec 2009 00:38:32 +0000 (16:38 -0800)
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>
drivers/serial/bcm63xx_uart.c

index beddaa6e906911a2b1e5ee4281fe0c912e6fd73b..37ad0c449937c34046dcef72ec0db07af35b42ec 100644 (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;