diff options
Diffstat (limited to 'drivers/serial/netx-serial.c')
-rw-r--r-- | drivers/serial/netx-serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/netx-serial.c b/drivers/serial/netx-serial.c index 3e5dda8518b7..7735c9f35fa0 100644 --- a/drivers/serial/netx-serial.c +++ b/drivers/serial/netx-serial.c | |||
@@ -140,7 +140,7 @@ static void netx_enable_ms(struct uart_port *port) | |||
140 | 140 | ||
141 | static inline void netx_transmit_buffer(struct uart_port *port) | 141 | static inline void netx_transmit_buffer(struct uart_port *port) |
142 | { | 142 | { |
143 | struct circ_buf *xmit = &port->info->xmit; | 143 | struct circ_buf *xmit = &port->state->xmit; |
144 | 144 | ||
145 | if (port->x_char) { | 145 | if (port->x_char) { |
146 | writel(port->x_char, port->membase + UART_DR); | 146 | writel(port->x_char, port->membase + UART_DR); |
@@ -185,7 +185,7 @@ static unsigned int netx_tx_empty(struct uart_port *port) | |||
185 | 185 | ||
186 | static void netx_txint(struct uart_port *port) | 186 | static void netx_txint(struct uart_port *port) |
187 | { | 187 | { |
188 | struct circ_buf *xmit = &port->info->xmit; | 188 | struct circ_buf *xmit = &port->state->xmit; |
189 | 189 | ||
190 | if (uart_circ_empty(xmit) || uart_tx_stopped(port)) { | 190 | if (uart_circ_empty(xmit) || uart_tx_stopped(port)) { |
191 | netx_stop_tx(port); | 191 | netx_stop_tx(port); |
@@ -201,7 +201,7 @@ static void netx_txint(struct uart_port *port) | |||
201 | static void netx_rxint(struct uart_port *port) | 201 | static void netx_rxint(struct uart_port *port) |
202 | { | 202 | { |
203 | unsigned char rx, flg, status; | 203 | unsigned char rx, flg, status; |
204 | struct tty_struct *tty = port->info->port.tty; | 204 | struct tty_struct *tty = port->state->port.tty; |
205 | 205 | ||
206 | while (!(readl(port->membase + UART_FR) & FR_RXFE)) { | 206 | while (!(readl(port->membase + UART_FR) & FR_RXFE)) { |
207 | rx = readl(port->membase + UART_DR); | 207 | rx = readl(port->membase + UART_DR); |