]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/ip22zilog.c
Fix compile errors in SGI console drivers (linux-next tree)
[linux-2.6-omap-h63xx.git] / drivers / serial / ip22zilog.c
index 9c95bc0398ad2aa400a0d3268c7315da89a10153..0d9acbd0bb7055f0e4fb41d4fdf35c10344b8204 100644 (file)
@@ -257,8 +257,8 @@ static struct tty_struct *ip22zilog_receive_chars(struct uart_ip22zilog_port *up
 
        tty = NULL;
        if (up->port.info != NULL &&
-           up->port.info->tty != NULL)
-               tty = up->port.info->tty;
+           up->port.info->port.tty != NULL)
+               tty = up->port.info->port.tty;
 
        for (;;) {
                ch = readb(&channel->control);