diff options
author | David Howells <dhowells@redhat.com> | 2008-07-16 16:54:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-20 20:12:35 -0400 |
commit | 34492b5834ede63d896c93ccba9a4657a8435dc2 (patch) | |
tree | 767634e81f4bd5fb51624c382a48dd965b8ee73b /arch/mn10300/kernel | |
parent | df4f4dd429870f435f8d5d9d561db029a29f063b (diff) |
MN10300: Fix MN10300's serial port driver to get at its tty_struct
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>
Diffstat (limited to 'arch/mn10300/kernel')
-rw-r--r-- | arch/mn10300/kernel/mn10300-serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mn10300/kernel/mn10300-serial.c b/arch/mn10300/kernel/mn10300-serial.c index b9c268c6b2fb..8b054e7a8ae8 100644 --- a/arch/mn10300/kernel/mn10300-serial.c +++ b/arch/mn10300/kernel/mn10300-serial.c | |||
@@ -392,7 +392,7 @@ static int mask_test_and_clear(volatile u8 *ptr, u8 mask) | |||
392 | static void mn10300_serial_receive_interrupt(struct mn10300_serial_port *port) | 392 | static void mn10300_serial_receive_interrupt(struct mn10300_serial_port *port) |
393 | { | 393 | { |
394 | struct uart_icount *icount = &port->uart.icount; | 394 | struct uart_icount *icount = &port->uart.icount; |
395 | struct tty_struct *tty = port->uart.info->tty; | 395 | struct tty_struct *tty = port->uart.info->port.tty; |
396 | unsigned ix; | 396 | unsigned ix; |
397 | int count; | 397 | int count; |
398 | u8 st, ch, push, status, overrun; | 398 | u8 st, ch, push, status, overrun; |