diff options
author | Alan Cox <alan@redhat.com> | 2008-07-16 21:53:50 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-20 17:12:35 -0700 |
commit | df4f4dd429870f435f8d5d9d561db029a29f063b (patch) | |
tree | 5e33106f5e5fc4c530170087d3151c13659fad1f /drivers/serial/8250.c | |
parent | 6f67048cd010afe19d79d821f16055d9c704c6f0 (diff) | |
download | blackbird-op-linux-df4f4dd429870f435f8d5d9d561db029a29f063b.tar.gz blackbird-op-linux-df4f4dd429870f435f8d5d9d561db029a29f063b.zip |
serial: use tty_port
Switch the serial_core based drivers to use the new tty_port structure.
We can't quite use all of it yet because of the dynamically allocated
extras in the serial_core layer.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/8250.c')
-rw-r--r-- | drivers/serial/8250.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index ac4f20cbfe41..ce948b66bbd4 100644 --- a/drivers/serial/8250.c +++ b/drivers/serial/8250.c @@ -1287,7 +1287,7 @@ static void serial8250_enable_ms(struct uart_port *port) static void receive_chars(struct uart_8250_port *up, unsigned int *status) { - struct tty_struct *tty = up->port.info->tty; + struct tty_struct *tty = up->port.info->port.tty; unsigned char ch, lsr = *status; int max_count = 256; char flag; |