diff options
-rw-r--r-- | drivers/serial/cpm_uart/cpm_uart_core.c | 2 | ||||
-rw-r--r-- | drivers/serial/samsung.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/cpm_uart/cpm_uart_core.c b/drivers/serial/cpm_uart/cpm_uart_core.c index abe129cc927a..93e407ee08b9 100644 --- a/drivers/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/serial/cpm_uart/cpm_uart_core.c | |||
@@ -209,7 +209,7 @@ static void cpm_uart_int_rx(struct uart_port *port) | |||
209 | int i; | 209 | int i; |
210 | unsigned char ch; | 210 | unsigned char ch; |
211 | u8 *cp; | 211 | u8 *cp; |
212 | struct tty_struct *tty = port->info->tty; | 212 | struct tty_struct *tty = port->info->port.tty; |
213 | struct uart_cpm_port *pinfo = (struct uart_cpm_port *)port; | 213 | struct uart_cpm_port *pinfo = (struct uart_cpm_port *)port; |
214 | cbd_t __iomem *bdp; | 214 | cbd_t __iomem *bdp; |
215 | u16 status; | 215 | u16 status; |
diff --git a/drivers/serial/samsung.c b/drivers/serial/samsung.c index 4a3ecaa629e6..d852f83f8900 100644 --- a/drivers/serial/samsung.c +++ b/drivers/serial/samsung.c | |||
@@ -202,7 +202,7 @@ s3c24xx_serial_rx_chars(int irq, void *dev_id) | |||
202 | { | 202 | { |
203 | struct s3c24xx_uart_port *ourport = dev_id; | 203 | struct s3c24xx_uart_port *ourport = dev_id; |
204 | struct uart_port *port = &ourport->port; | 204 | struct uart_port *port = &ourport->port; |
205 | struct tty_struct *tty = port->info->tty; | 205 | struct tty_struct *tty = port->info->port.tty; |
206 | unsigned int ufcon, ch, flag, ufstat, uerstat; | 206 | unsigned int ufcon, ch, flag, ufstat, uerstat; |
207 | int max_count = 64; | 207 | int max_count = 64; |
208 | 208 | ||