diff options
Diffstat (limited to 'tty')
-rw-r--r-- | tty/tiny_serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tty/tiny_serial.c b/tty/tiny_serial.c index 1ae7a43..a23b8be 100644 --- a/tty/tiny_serial.c +++ b/tty/tiny_serial.c @@ -58,7 +58,7 @@ static void tiny_enable_ms(struct uart_port *port) static void tiny_tx_chars(struct uart_port *port) { - struct circ_buf *xmit = &port->info->xmit; + struct circ_buf *xmit = &port->state->xmit; int count; if (port->x_char) { @@ -101,9 +101,9 @@ static void tiny_timer(unsigned long data) port = (struct uart_port *)data; if (!port) return; - if (!port->info) + if (!port->state) return; - tty = port->info->tty; + tty = port->state->tty; if (!tty) return; |