diff options
author | Alan Cox <alan@linux.intel.com> | 2009-09-19 16:13:28 -0400 |
---|---|---|
committer | Live-CD User <linux@linux.site> | 2009-09-19 16:13:28 -0400 |
commit | ebd2c8f6d2ec4012c267ecb95e72a57b8355a705 (patch) | |
tree | 36a01b2ac2520bf7e0d9362b8da17d3c894da2db /drivers/serial/sunzilog.c | |
parent | 11d85d7b2ecc72fe752bba55389e7d11907528af (diff) |
serial: kill off uart_info
We moved this into uart_state, now move the fields out of the separate
structure and kill it off.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial/sunzilog.c')
-rw-r--r-- | drivers/serial/sunzilog.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/serial/sunzilog.c b/drivers/serial/sunzilog.c index e09d3cebb4fb..055034d12b1c 100644 --- a/drivers/serial/sunzilog.c +++ b/drivers/serial/sunzilog.c | |||
@@ -328,9 +328,9 @@ sunzilog_receive_chars(struct uart_sunzilog_port *up, | |||
328 | unsigned char ch, r1, flag; | 328 | unsigned char ch, r1, flag; |
329 | 329 | ||
330 | tty = NULL; | 330 | tty = NULL; |
331 | if (up->port.info != NULL && /* Unopened serial console */ | 331 | if (up->port.state != NULL && /* Unopened serial console */ |
332 | up->port.info->port.tty != NULL) /* Keyboard || mouse */ | 332 | up->port.state->port.tty != NULL) /* Keyboard || mouse */ |
333 | tty = up->port.info->port.tty; | 333 | tty = up->port.state->port.tty; |
334 | 334 | ||
335 | for (;;) { | 335 | for (;;) { |
336 | 336 | ||
@@ -451,7 +451,7 @@ static void sunzilog_status_handle(struct uart_sunzilog_port *up, | |||
451 | uart_handle_cts_change(&up->port, | 451 | uart_handle_cts_change(&up->port, |
452 | (status & CTS)); | 452 | (status & CTS)); |
453 | 453 | ||
454 | wake_up_interruptible(&up->port.info->delta_msr_wait); | 454 | wake_up_interruptible(&up->port.state->delta_msr_wait); |
455 | } | 455 | } |
456 | 456 | ||
457 | up->prev_status = status; | 457 | up->prev_status = status; |
@@ -501,9 +501,9 @@ static void sunzilog_transmit_chars(struct uart_sunzilog_port *up, | |||
501 | return; | 501 | return; |
502 | } | 502 | } |
503 | 503 | ||
504 | if (up->port.info == NULL) | 504 | if (up->port.state == NULL) |
505 | goto ack_tx_int; | 505 | goto ack_tx_int; |
506 | xmit = &up->port.info->xmit; | 506 | xmit = &up->port.state->xmit; |
507 | if (uart_circ_empty(xmit)) | 507 | if (uart_circ_empty(xmit)) |
508 | goto ack_tx_int; | 508 | goto ack_tx_int; |
509 | 509 | ||
@@ -705,7 +705,7 @@ static void sunzilog_start_tx(struct uart_port *port) | |||
705 | port->icount.tx++; | 705 | port->icount.tx++; |
706 | port->x_char = 0; | 706 | port->x_char = 0; |
707 | } else { | 707 | } else { |
708 | struct circ_buf *xmit = &port->info->xmit; | 708 | struct circ_buf *xmit = &port->state->xmit; |
709 | 709 | ||
710 | writeb(xmit->buf[xmit->tail], &channel->data); | 710 | writeb(xmit->buf[xmit->tail], &channel->data); |
711 | ZSDELAY(); | 711 | ZSDELAY(); |