aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/m32r_sio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/m32r_sio.c')
-rw-r--r--drivers/tty/serial/m32r_sio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tty/serial/m32r_sio.c b/drivers/tty/serial/m32r_sio.c
index 2e9a390f2ac4..bb1afa0922e1 100644
--- a/drivers/tty/serial/m32r_sio.c
+++ b/drivers/tty/serial/m32r_sio.c
@@ -301,7 +301,6 @@ static void m32r_sio_enable_ms(struct uart_port *port)
301static void receive_chars(struct uart_sio_port *up, int *status) 301static void receive_chars(struct uart_sio_port *up, int *status)
302{ 302{
303 struct tty_port *port = &up->port.state->port; 303 struct tty_port *port = &up->port.state->port;
304 struct tty_struct *tty = tport->tty;
305 unsigned char ch; 304 unsigned char ch;
306 unsigned char flag; 305 unsigned char flag;
307 int max_count = 256; 306 int max_count = 256;
@@ -369,7 +368,7 @@ static void receive_chars(struct uart_sio_port *up, int *status)
369 ignore_char: 368 ignore_char:
370 *status = serial_in(up, UART_LSR); 369 *status = serial_in(up, UART_LSR);
371 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); 370 } while ((*status & UART_LSR_DR) && (max_count-- > 0));
372 tty_flip_buffer_push(tty); 371 tty_flip_buffer_push(port);
373} 372}
374 373
375static void transmit_chars(struct uart_sio_port *up) 374static void transmit_chars(struct uart_sio_port *up)