]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mn10300/kernel/mn10300-serial.c
MN10300: Fix MN10300's serial port driver to get at its tty_struct
[linux-2.6-omap-h63xx.git] / arch / mn10300 / kernel / mn10300-serial.c
index b9c268c6b2fb14cf72056e9bb9e4d408a8ee2dc1..8b054e7a8ae8e406b4d3e9ae8c6c9b8ac8bb47bc 100644 (file)
@@ -392,7 +392,7 @@ static int mask_test_and_clear(volatile u8 *ptr, u8 mask)
 static void mn10300_serial_receive_interrupt(struct mn10300_serial_port *port)
 {
        struct uart_icount *icount = &port->uart.icount;
-       struct tty_struct *tty = port->uart.info->tty;
+       struct tty_struct *tty = port->uart.info->port.tty;
        unsigned ix;
        int count;
        u8 st, ch, push, status, overrun;