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>
This commit is contained in:
parent
df4f4dd429
commit
34492b5834
|
@ -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)
|
static void mn10300_serial_receive_interrupt(struct mn10300_serial_port *port)
|
||||||
{
|
{
|
||||||
struct uart_icount *icount = &port->uart.icount;
|
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;
|
unsigned ix;
|
||||||
int count;
|
int count;
|
||||||
u8 st, ch, push, status, overrun;
|
u8 st, ch, push, status, overrun;
|
||||||
|
|
Loading…
Reference in New Issue