]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/sunhv.c
ttydev: fix pamc_zilog for tty pointer move
[linux-2.6-omap-h63xx.git] / drivers / serial / sunhv.c
index 2847336742d77e4ef1ab7cf66980cb7f50393154..aeeec5588afd48c2573097417f6fc428d0f6b39d 100644 (file)
@@ -185,7 +185,7 @@ static struct tty_struct *receive_chars(struct uart_port *port)
        struct tty_struct *tty = NULL;
 
        if (port->info != NULL)         /* Unopened serial console */
-               tty = port->info->tty;
+               tty = port->info->port.tty;
 
        if (sunhv_ops->receive_chars(port, tty))
                sun_do_break();