diff options
Diffstat (limited to 'drivers/serial/mpsc.c')
-rw-r--r-- | drivers/serial/mpsc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/mpsc.c b/drivers/serial/mpsc.c index 61d3ade5286c..b5496c28e60b 100644 --- a/drivers/serial/mpsc.c +++ b/drivers/serial/mpsc.c | |||
@@ -936,7 +936,7 @@ static int serial_polled; | |||
936 | static int mpsc_rx_intr(struct mpsc_port_info *pi) | 936 | static int mpsc_rx_intr(struct mpsc_port_info *pi) |
937 | { | 937 | { |
938 | struct mpsc_rx_desc *rxre; | 938 | struct mpsc_rx_desc *rxre; |
939 | struct tty_struct *tty = pi->port.info->port.tty; | 939 | struct tty_struct *tty = pi->port.state->port.tty; |
940 | u32 cmdstat, bytes_in, i; | 940 | u32 cmdstat, bytes_in, i; |
941 | int rc = 0; | 941 | int rc = 0; |
942 | u8 *bp; | 942 | u8 *bp; |
@@ -1109,7 +1109,7 @@ static void mpsc_setup_tx_desc(struct mpsc_port_info *pi, u32 count, u32 intr) | |||
1109 | 1109 | ||
1110 | static void mpsc_copy_tx_data(struct mpsc_port_info *pi) | 1110 | static void mpsc_copy_tx_data(struct mpsc_port_info *pi) |
1111 | { | 1111 | { |
1112 | struct circ_buf *xmit = &pi->port.info->xmit; | 1112 | struct circ_buf *xmit = &pi->port.state->xmit; |
1113 | u8 *bp; | 1113 | u8 *bp; |
1114 | u32 i; | 1114 | u32 i; |
1115 | 1115 | ||