diff options
-rw-r--r-- | drivers/serial/atmel_serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/atmel_serial.c b/drivers/serial/atmel_serial.c index c17fcd6085f3..1fee12c1f4f8 100644 --- a/drivers/serial/atmel_serial.c +++ b/drivers/serial/atmel_serial.c | |||
@@ -662,14 +662,14 @@ static void atmel_rx_from_ring(struct uart_port *port) | |||
662 | * uart_start(), which takes the lock. | 662 | * uart_start(), which takes the lock. |
663 | */ | 663 | */ |
664 | spin_unlock(&port->lock); | 664 | spin_unlock(&port->lock); |
665 | tty_flip_buffer_push(port->info->tty); | 665 | tty_flip_buffer_push(port->info->port.tty); |
666 | spin_lock(&port->lock); | 666 | spin_lock(&port->lock); |
667 | } | 667 | } |
668 | 668 | ||
669 | static void atmel_rx_from_dma(struct uart_port *port) | 669 | static void atmel_rx_from_dma(struct uart_port *port) |
670 | { | 670 | { |
671 | struct atmel_uart_port *atmel_port = to_atmel_uart_port(port); | 671 | struct atmel_uart_port *atmel_port = to_atmel_uart_port(port); |
672 | struct tty_struct *tty = port->info->tty; | 672 | struct tty_struct *tty = port->info->port.tty; |
673 | struct atmel_dma_buffer *pdc; | 673 | struct atmel_dma_buffer *pdc; |
674 | int rx_idx = atmel_port->pdc_rx_idx; | 674 | int rx_idx = atmel_port->pdc_rx_idx; |
675 | unsigned int head; | 675 | unsigned int head; |
@@ -794,7 +794,7 @@ static void atmel_tasklet_func(unsigned long data) | |||
794 | static int atmel_startup(struct uart_port *port) | 794 | static int atmel_startup(struct uart_port *port) |
795 | { | 795 | { |
796 | struct atmel_uart_port *atmel_port = to_atmel_uart_port(port); | 796 | struct atmel_uart_port *atmel_port = to_atmel_uart_port(port); |
797 | struct tty_struct *tty = port->info->tty; | 797 | struct tty_struct *tty = port->info->port.tty; |
798 | int retval; | 798 | int retval; |
799 | 799 | ||
800 | /* | 800 | /* |