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/sh-sci.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/sh-sci.c')
-rw-r--r-- | drivers/serial/sh-sci.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c index 32dc2fc50e6b..85119fb7cb50 100644 --- a/drivers/serial/sh-sci.c +++ b/drivers/serial/sh-sci.c | |||
@@ -361,7 +361,7 @@ static inline int sci_rxroom(struct uart_port *port) | |||
361 | 361 | ||
362 | static void sci_transmit_chars(struct uart_port *port) | 362 | static void sci_transmit_chars(struct uart_port *port) |
363 | { | 363 | { |
364 | struct circ_buf *xmit = &port->info->xmit; | 364 | struct circ_buf *xmit = &port->state->xmit; |
365 | unsigned int stopped = uart_tx_stopped(port); | 365 | unsigned int stopped = uart_tx_stopped(port); |
366 | unsigned short status; | 366 | unsigned short status; |
367 | unsigned short ctrl; | 367 | unsigned short ctrl; |
@@ -426,7 +426,7 @@ static void sci_transmit_chars(struct uart_port *port) | |||
426 | static inline void sci_receive_chars(struct uart_port *port) | 426 | static inline void sci_receive_chars(struct uart_port *port) |
427 | { | 427 | { |
428 | struct sci_port *sci_port = to_sci_port(port); | 428 | struct sci_port *sci_port = to_sci_port(port); |
429 | struct tty_struct *tty = port->info->port.tty; | 429 | struct tty_struct *tty = port->state->port.tty; |
430 | int i, count, copied = 0; | 430 | int i, count, copied = 0; |
431 | unsigned short status; | 431 | unsigned short status; |
432 | unsigned char flag; | 432 | unsigned char flag; |
@@ -546,7 +546,7 @@ static inline int sci_handle_errors(struct uart_port *port) | |||
546 | { | 546 | { |
547 | int copied = 0; | 547 | int copied = 0; |
548 | unsigned short status = sci_in(port, SCxSR); | 548 | unsigned short status = sci_in(port, SCxSR); |
549 | struct tty_struct *tty = port->info->port.tty; | 549 | struct tty_struct *tty = port->state->port.tty; |
550 | 550 | ||
551 | if (status & SCxSR_ORER(port)) { | 551 | if (status & SCxSR_ORER(port)) { |
552 | /* overrun error */ | 552 | /* overrun error */ |
@@ -600,7 +600,7 @@ static inline int sci_handle_errors(struct uart_port *port) | |||
600 | 600 | ||
601 | static inline int sci_handle_fifo_overrun(struct uart_port *port) | 601 | static inline int sci_handle_fifo_overrun(struct uart_port *port) |
602 | { | 602 | { |
603 | struct tty_struct *tty = port->info->port.tty; | 603 | struct tty_struct *tty = port->state->port.tty; |
604 | int copied = 0; | 604 | int copied = 0; |
605 | 605 | ||
606 | if (port->type != PORT_SCIF) | 606 | if (port->type != PORT_SCIF) |
@@ -623,7 +623,7 @@ static inline int sci_handle_breaks(struct uart_port *port) | |||
623 | { | 623 | { |
624 | int copied = 0; | 624 | int copied = 0; |
625 | unsigned short status = sci_in(port, SCxSR); | 625 | unsigned short status = sci_in(port, SCxSR); |
626 | struct tty_struct *tty = port->info->port.tty; | 626 | struct tty_struct *tty = port->state->port.tty; |
627 | struct sci_port *s = to_sci_port(port); | 627 | struct sci_port *s = to_sci_port(port); |
628 | 628 | ||
629 | if (uart_handle_break(port)) | 629 | if (uart_handle_break(port)) |