X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fserial%2Fmux.c;h=953a5ffa9b44e6279b80f26a4a4aefb59ab934e3;hb=ae0645a451b02ad35c520b01177b70ebd59c91ab;hp=e94031731a4797af1d94b9f47db6fc51d0a8bc8c;hpb=b5eb9513f7c1bee862ada22bf1489f53752686bd;p=pandora-kernel.git diff --git a/drivers/serial/mux.c b/drivers/serial/mux.c index e94031731a47..953a5ffa9b44 100644 --- a/drivers/serial/mux.c +++ b/drivers/serial/mux.c @@ -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) {