X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fserial%2Fsunsab.c;h=15ee497e1c78805e3030cd41f383864070884980;hb=8bad4afe1257585967a1b38cd3f21324b260812b;hp=9ff5b38f3bee9e5ac3aedf0740c2bd4ca71bff9d;hpb=108c1961847df2a875047c0fd27b419cb817d213;p=linux-2.6 diff --git a/drivers/serial/sunsab.c b/drivers/serial/sunsab.c index 9ff5b38f3b..15ee497e1c 100644 --- a/drivers/serial/sunsab.c +++ b/drivers/serial/sunsab.c @@ -118,7 +118,7 @@ receive_chars(struct uart_sunsab_port *up, int i; if (up->port.info != NULL) /* Unopened serial console */ - tty = up->port.info->tty; + tty = up->port.info->port.tty; /* Read number of BYTES (Character + Status) available. */ if (stat->sreg.isr0 & SAB82532_ISR0_RPF) {