diff options
-rw-r--r-- | drivers/serial/sunhv.c | 2 | ||||
-rw-r--r-- | drivers/serial/sunsab.c | 2 | ||||
-rw-r--r-- | drivers/serial/sunsu.c | 2 | ||||
-rw-r--r-- | drivers/serial/sunzilog.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/drivers/serial/sunhv.c b/drivers/serial/sunhv.c index 2847336742d7..aeeec5588afd 100644 --- a/drivers/serial/sunhv.c +++ b/drivers/serial/sunhv.c | |||
@@ -185,7 +185,7 @@ static struct tty_struct *receive_chars(struct uart_port *port) | |||
185 | struct tty_struct *tty = NULL; | 185 | struct tty_struct *tty = NULL; |
186 | 186 | ||
187 | if (port->info != NULL) /* Unopened serial console */ | 187 | if (port->info != NULL) /* Unopened serial console */ |
188 | tty = port->info->tty; | 188 | tty = port->info->port.tty; |
189 | 189 | ||
190 | if (sunhv_ops->receive_chars(port, tty)) | 190 | if (sunhv_ops->receive_chars(port, tty)) |
191 | sun_do_break(); | 191 | sun_do_break(); |
diff --git a/drivers/serial/sunsab.c b/drivers/serial/sunsab.c index 9ff5b38f3bee..15ee497e1c78 100644 --- a/drivers/serial/sunsab.c +++ b/drivers/serial/sunsab.c | |||
@@ -118,7 +118,7 @@ receive_chars(struct uart_sunsab_port *up, | |||
118 | int i; | 118 | int i; |
119 | 119 | ||
120 | if (up->port.info != NULL) /* Unopened serial console */ | 120 | if (up->port.info != NULL) /* Unopened serial console */ |
121 | tty = up->port.info->tty; | 121 | tty = up->port.info->port.tty; |
122 | 122 | ||
123 | /* Read number of BYTES (Character + Status) available. */ | 123 | /* Read number of BYTES (Character + Status) available. */ |
124 | if (stat->sreg.isr0 & SAB82532_ISR0_RPF) { | 124 | if (stat->sreg.isr0 & SAB82532_ISR0_RPF) { |
diff --git a/drivers/serial/sunsu.c b/drivers/serial/sunsu.c index 1074e73d7433..e24e68235088 100644 --- a/drivers/serial/sunsu.c +++ b/drivers/serial/sunsu.c | |||
@@ -311,7 +311,7 @@ static void sunsu_enable_ms(struct uart_port *port) | |||
311 | static struct tty_struct * | 311 | static struct tty_struct * |
312 | receive_chars(struct uart_sunsu_port *up, unsigned char *status) | 312 | receive_chars(struct uart_sunsu_port *up, unsigned char *status) |
313 | { | 313 | { |
314 | struct tty_struct *tty = up->port.info->tty; | 314 | struct tty_struct *tty = up->port.info->port.tty; |
315 | unsigned char ch, flag; | 315 | unsigned char ch, flag; |
316 | int max_count = 256; | 316 | int max_count = 256; |
317 | int saw_console_brk = 0; | 317 | int saw_console_brk = 0; |
diff --git a/drivers/serial/sunzilog.c b/drivers/serial/sunzilog.c index 7e9fa5ef0eb7..0f3d69b86d67 100644 --- a/drivers/serial/sunzilog.c +++ b/drivers/serial/sunzilog.c | |||
@@ -329,8 +329,8 @@ sunzilog_receive_chars(struct uart_sunzilog_port *up, | |||
329 | 329 | ||
330 | tty = NULL; | 330 | tty = NULL; |
331 | if (up->port.info != NULL && /* Unopened serial console */ | 331 | if (up->port.info != NULL && /* Unopened serial console */ |
332 | up->port.info->tty != NULL) /* Keyboard || mouse */ | 332 | up->port.info->port.tty != NULL) /* Keyboard || mouse */ |
333 | tty = up->port.info->tty; | 333 | tty = up->port.info->port.tty; |
334 | 334 | ||
335 | for (;;) { | 335 | for (;;) { |
336 | 336 | ||