diff options
Diffstat (limited to 'drivers/serial/msm_serial.c')
-rw-r--r-- | drivers/serial/msm_serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/msm_serial.c b/drivers/serial/msm_serial.c index f7c24baa1416..ff18d50c99c1 100644 --- a/drivers/serial/msm_serial.c +++ b/drivers/serial/msm_serial.c | |||
@@ -88,7 +88,7 @@ static void msm_enable_ms(struct uart_port *port) | |||
88 | 88 | ||
89 | static void handle_rx(struct uart_port *port) | 89 | static void handle_rx(struct uart_port *port) |
90 | { | 90 | { |
91 | struct tty_struct *tty = port->info->port.tty; | 91 | struct tty_struct *tty = port->state->port.tty; |
92 | unsigned int sr; | 92 | unsigned int sr; |
93 | 93 | ||
94 | /* | 94 | /* |
@@ -136,7 +136,7 @@ static void handle_rx(struct uart_port *port) | |||
136 | 136 | ||
137 | static void handle_tx(struct uart_port *port) | 137 | static void handle_tx(struct uart_port *port) |
138 | { | 138 | { |
139 | struct circ_buf *xmit = &port->info->xmit; | 139 | struct circ_buf *xmit = &port->state->xmit; |
140 | struct msm_port *msm_port = UART_TO_MSM(port); | 140 | struct msm_port *msm_port = UART_TO_MSM(port); |
141 | int sent_tx; | 141 | int sent_tx; |
142 | 142 | ||
@@ -169,7 +169,7 @@ static void handle_delta_cts(struct uart_port *port) | |||
169 | { | 169 | { |
170 | msm_write(port, UART_CR_CMD_RESET_CTS, UART_CR); | 170 | msm_write(port, UART_CR_CMD_RESET_CTS, UART_CR); |
171 | port->icount.cts++; | 171 | port->icount.cts++; |
172 | wake_up_interruptible(&port->info->delta_msr_wait); | 172 | wake_up_interruptible(&port->state->delta_msr_wait); |
173 | } | 173 | } |
174 | 174 | ||
175 | static irqreturn_t msm_irq(int irq, void *dev_id) | 175 | static irqreturn_t msm_irq(int irq, void *dev_id) |