diff options
author | Javier Martinez Canillas <martinez.javier@gmail.com> | 2010-12-31 07:14:40 +0100 |
---|---|---|
committer | Javier Martinez Canillas <martinez.javier@gmail.com> | 2010-12-31 07:14:40 +0100 |
commit | f23985e22f5958fcb3ecb571e2e33e6e94a36720 (patch) | |
tree | 597c75d10d3b83e85508196d5b0d1665289771da | |
parent | 5dd6d8168ab1f782ba850fc578e207d489c46e34 (diff) | |
download | ldd3-f23985e22f5958fcb3ecb571e2e33e6e94a36720.tar.gz |
tty: tiny_serial: Change use uart_port->state instead of uart_port->info
-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; |