summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Martinez Canillas <martinez.javier@gmail.com>2010-12-31 07:14:40 +0100
committerJavier Martinez Canillas <martinez.javier@gmail.com>2010-12-31 07:14:40 +0100
commitf23985e22f5958fcb3ecb571e2e33e6e94a36720 (patch)
tree597c75d10d3b83e85508196d5b0d1665289771da
parent5dd6d8168ab1f782ba850fc578e207d489c46e34 (diff)
downloadldd3-f23985e22f5958fcb3ecb571e2e33e6e94a36720.tar.gz
tty: tiny_serial: Change use uart_port->state instead of uart_port->info
-rw-r--r--tty/tiny_serial.c6
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;