]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/v850e_uart.c
specialix: restore driver using new break functionality
[linux-2.6-omap-h63xx.git] / drivers / serial / v850e_uart.c
index 28f3bbff87bf48f1c5bbc16b8cc4affc26429b65..5acf061b6cd295f054edd5c2b06a6d7fd1fda880 100644 (file)
@@ -300,8 +300,8 @@ static irqreturn_t v850e_uart_rx_irq(int irq, void *data)
 
        port->icount.rx++;
 
-       tty_insert_flip_char (port->info->tty, ch, ch_stat);
-       tty_schedule_flip (port->info->tty);
+       tty_insert_flip_char (port->info->port.tty, ch, ch_stat);
+       tty_schedule_flip (port->info->port.tty);
 
        return IRQ_HANDLED;
 }
@@ -404,8 +404,8 @@ static void v850e_uart_shutdown (struct uart_port *port)
 }
 
 static void
-v850e_uart_set_termios (struct uart_port *port, struct termios *termios,
-                       struct termios *old)
+v850e_uart_set_termios (struct uart_port *port, struct ktermios *termios,
+                       struct ktermios *old)
 {
        unsigned cflags = termios->c_cflag;