diff options
Diffstat (limited to 'drivers/serial/sc26xx.c')
-rw-r--r-- | drivers/serial/sc26xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/sc26xx.c b/drivers/serial/sc26xx.c index ae2a9e2df777..e0be11ceaa25 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) | |||
141 | u8 status; | 141 | u8 status; |
142 | 142 | ||
143 | if (port->info != NULL) /* Unopened serial console */ | 143 | if (port->info != NULL) /* Unopened serial console */ |
144 | tty = port->info->tty; | 144 | tty = port->info->port.tty; |
145 | 145 | ||
146 | while (limit-- > 0) { | 146 | while (limit-- > 0) { |
147 | status = READ_SC_PORT(port, SR); | 147 | status = READ_SC_PORT(port, SR); |