summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorHector Palacios <hector.palacios@digi.com>2011-01-21 17:55:31 +0100
committerHector Palacios <hector.palacios@digi.com>2011-01-26 12:21:23 +0100
commitbd0b98640723ae9955c7a5fa97e5e4be73448bea (patch)
tree9b8682755c4fbf67e70f2837144ac2dae148ebea /drivers/serial
parentab39fbc9b53813c0b8c3faf392aa0291c839deba (diff)
serial driver: kill off uart_info
This was moved into uart_state. Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/ns9360-serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/ns9360-serial.c b/drivers/serial/ns9360-serial.c
index f57f6017bbae..59e5e8c5149e 100644
--- a/drivers/serial/ns9360-serial.c
+++ b/drivers/serial/ns9360-serial.c
@@ -167,7 +167,7 @@ static void ns9360_uart_stop_tx(struct uart_port *port)
* This is called with port->lock taken */
static void ns9360_uart_rx_chars(struct uart_ns9360_port *unp)
{
- struct tty_struct *tty = unp->port.info->port.tty;
+ struct tty_struct *tty = unp->port.state->port.tty;
u32 status, available, characters, flag;
/* acknowledge rbc if set */
@@ -223,7 +223,7 @@ static void ns9360_uart_rx_chars(struct uart_ns9360_port *unp)
/* send out chars in xmit buffer. This is called with port->lock taken */
static void ns9360_uart_tx_chars(struct uart_ns9360_port *unp)
{
- struct circ_buf *xmit = &unp->port.info->xmit;
+ struct circ_buf *xmit = &unp->port.state->xmit;
assert_spin_locked(&unp->port.lock);