From f23985e22f5958fcb3ecb571e2e33e6e94a36720 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Fri, 31 Dec 2010 07:14:40 +0100 Subject: tty: tiny_serial: Change use uart_port->state instead of uart_port->info --- tty/tiny_serial.c | 6 +++--- 1 file 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; -- cgit v1.2.1-18-gbd029