X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fserial%2Fsc26xx.c;h=e0be11ceaa251ccfc6da0eb8b33019f4068da20f;hb=fdfa66ab455c79d699833c43ac0e09900133fd7c;hp=ae2a9e2df777fee57f4b320cbf5523558587f03f;hpb=6af74b03e00fc78806f75f6701b24b582bbb5c96;p=linux-2.6-omap-h63xx.git diff --git a/drivers/serial/sc26xx.c b/drivers/serial/sc26xx.c index ae2a9e2df77..e0be11ceaa2 100644 --- a/drivers/serial/sc26xx.c +++ b/drivers/serial/sc26xx.c @@ -141,7 +141,7 @@ static struct tty_struct *receive_chars(struct uart_port *port) u8 status; if (port->info != NULL) /* Unopened serial console */ - tty = port->info->tty; + tty = port->info->port.tty; while (limit-- > 0) { status = READ_SC_PORT(port, SR);