]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/sunsu.c
ttydev: fix pamc_zilog for tty pointer move
[linux-2.6-omap-h63xx.git] / drivers / serial / sunsu.c
index 1074e73d7433a0db2ea0d07749c2ac9db4767fee..e24e68235088855c719c629f37a020f5d78d0e54 100644 (file)
@@ -311,7 +311,7 @@ static void sunsu_enable_ms(struct uart_port *port)
 static struct tty_struct *
 receive_chars(struct uart_sunsu_port *up, unsigned char *status)
 {
-       struct tty_struct *tty = up->port.info->tty;
+       struct tty_struct *tty = up->port.info->port.tty;
        unsigned char ch, flag;
        int max_count = 256;
        int saw_console_brk = 0;