]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
MN10300: Fix MN10300's serial port driver to get at its tty_struct
authorDavid Howells <dhowells@redhat.com>
Wed, 16 Jul 2008 20:54:01 +0000 (21:54 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 21 Jul 2008 00:12:35 +0000 (17:12 -0700)
Fix MN10300's serial port driver to get at its tty_struct as this moved
from struct uart_info into struct tty_port in patch:

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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;