]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/mux.c
Fix compile errors in SGI console drivers (linux-next tree)
[linux-2.6-omap-h63xx.git] / drivers / serial / mux.c
index e94031731a4797af1d94b9f47db6fc51d0a8bc8c..953a5ffa9b44e6279b80f26a4a4aefb59ab934e3 100644 (file)
@@ -243,7 +243,7 @@ static void mux_write(struct uart_port *port)
 static void mux_read(struct uart_port *port)
 {
        int data;
-       struct tty_struct *tty = port->info->tty;
+       struct tty_struct *tty = port->info->port.tty;
        __u32 start_count = port->icount.rx;
 
        while(1) {