summaryrefslogtreecommitdiffstats
path: root/drivers/serial/pnx8xxx_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/pnx8xxx_uart.c')
-rw-r--r--drivers/serial/pnx8xxx_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/pnx8xxx_uart.c b/drivers/serial/pnx8xxx_uart.c
index 1ba5917819af..22e30d21225e 100644
--- a/drivers/serial/pnx8xxx_uart.c
+++ b/drivers/serial/pnx8xxx_uart.c
@@ -181,7 +181,7 @@ static void pnx8xxx_enable_ms(struct uart_port *port)
static void pnx8xxx_rx_chars(struct pnx8xxx_port *sport)
{
- struct tty_struct *tty = sport->port.info->tty;
+ struct tty_struct *tty = sport->port.info->port.tty;
unsigned int status, ch, flg;
status = FIFO_TO_SM(serial_in(sport, PNX8XXX_FIFO)) |
OpenPOWER on IntegriCloud