diff options
Diffstat (limited to 'drivers/serial/ip22zilog.c')
-rw-r--r-- | drivers/serial/ip22zilog.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/serial/ip22zilog.c b/drivers/serial/ip22zilog.c index 0d9acbd0bb70..2e847deb41dc 100644 --- a/drivers/serial/ip22zilog.c +++ b/drivers/serial/ip22zilog.c | |||
@@ -256,9 +256,9 @@ static struct tty_struct *ip22zilog_receive_chars(struct uart_ip22zilog_port *up | |||
256 | unsigned int r1; | 256 | unsigned int r1; |
257 | 257 | ||
258 | tty = NULL; | 258 | tty = NULL; |
259 | if (up->port.info != NULL && | 259 | if (up->port.state != NULL && |
260 | up->port.info->port.tty != NULL) | 260 | up->port.state->port.tty != NULL) |
261 | tty = up->port.info->port.tty; | 261 | tty = up->port.state->port.tty; |
262 | 262 | ||
263 | for (;;) { | 263 | for (;;) { |
264 | ch = readb(&channel->control); | 264 | ch = readb(&channel->control); |
@@ -354,7 +354,7 @@ static void ip22zilog_status_handle(struct uart_ip22zilog_port *up, | |||
354 | uart_handle_cts_change(&up->port, | 354 | uart_handle_cts_change(&up->port, |
355 | (status & CTS)); | 355 | (status & CTS)); |
356 | 356 | ||
357 | wake_up_interruptible(&up->port.info->delta_msr_wait); | 357 | wake_up_interruptible(&up->port.state->delta_msr_wait); |
358 | } | 358 | } |
359 | 359 | ||
360 | up->prev_status = status; | 360 | up->prev_status = status; |
@@ -404,9 +404,9 @@ static void ip22zilog_transmit_chars(struct uart_ip22zilog_port *up, | |||
404 | return; | 404 | return; |
405 | } | 405 | } |
406 | 406 | ||
407 | if (up->port.info == NULL) | 407 | if (up->port.state == NULL) |
408 | goto ack_tx_int; | 408 | goto ack_tx_int; |
409 | xmit = &up->port.info->xmit; | 409 | xmit = &up->port.state->xmit; |
410 | if (uart_circ_empty(xmit)) | 410 | if (uart_circ_empty(xmit)) |
411 | goto ack_tx_int; | 411 | goto ack_tx_int; |
412 | if (uart_tx_stopped(&up->port)) | 412 | if (uart_tx_stopped(&up->port)) |
@@ -607,7 +607,7 @@ static void ip22zilog_start_tx(struct uart_port *port) | |||
607 | port->icount.tx++; | 607 | port->icount.tx++; |
608 | port->x_char = 0; | 608 | port->x_char = 0; |
609 | } else { | 609 | } else { |
610 | struct circ_buf *xmit = &port->info->xmit; | 610 | struct circ_buf *xmit = &port->state->xmit; |
611 | 611 | ||
612 | writeb(xmit->buf[xmit->tail], &channel->data); | 612 | writeb(xmit->buf[xmit->tail], &channel->data); |
613 | ZSDELAY(); | 613 | ZSDELAY(); |