X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fserial%2Fip22zilog.c;h=0d9acbd0bb7055f0e4fb41d4fdf35c10344b8204;hb=b8ef914e58e90c3b4dba5f5bdd8ab04c45d3e008;hp=9c95bc0398ad2aa400a0d3268c7315da89a10153;hpb=8002cedc1adbf51e2d56091534ef7551b88329b4;p=mv-sheeva.git diff --git a/drivers/serial/ip22zilog.c b/drivers/serial/ip22zilog.c index 9c95bc0398a..0d9acbd0bb7 100644 --- a/drivers/serial/ip22zilog.c +++ b/drivers/serial/ip22zilog.c @@ -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);