]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/sc26xx.c
Fix compile errors in SGI console drivers (linux-next tree)
[linux-2.6-omap-h63xx.git] / drivers / serial / sc26xx.c
index ae2a9e2df777fee57f4b320cbf5523558587f03f..e0be11ceaa251ccfc6da0eb8b33019f4068da20f 100644 (file)
@@ -141,7 +141,7 @@ static struct tty_struct *receive_chars(struct uart_port *port)
        u8 status;
 
        if (port->info != NULL)         /* Unopened serial console */
-               tty = port->info->tty;
+               tty = port->info->port.tty;
 
        while (limit-- > 0) {
                status = READ_SC_PORT(port, SR);