Commit f10140fb authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

port_fixups: Fix ups for tty port changes

I missed the cpm_uart one. Thanks to Kumar Gala for reporting it. A double
check found samsung also needed fixing up.
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ed569bfb
...@@ -209,7 +209,7 @@ static void cpm_uart_int_rx(struct uart_port *port) ...@@ -209,7 +209,7 @@ static void cpm_uart_int_rx(struct uart_port *port)
int i; int i;
unsigned char ch; unsigned char ch;
u8 *cp; u8 *cp;
struct tty_struct *tty = port->info->tty; struct tty_struct *tty = port->info->port.tty;
struct uart_cpm_port *pinfo = (struct uart_cpm_port *)port; struct uart_cpm_port *pinfo = (struct uart_cpm_port *)port;
cbd_t __iomem *bdp; cbd_t __iomem *bdp;
u16 status; u16 status;
......
...@@ -202,7 +202,7 @@ s3c24xx_serial_rx_chars(int irq, void *dev_id) ...@@ -202,7 +202,7 @@ s3c24xx_serial_rx_chars(int irq, void *dev_id)
{ {
struct s3c24xx_uart_port *ourport = dev_id; struct s3c24xx_uart_port *ourport = dev_id;
struct uart_port *port = &ourport->port; struct uart_port *port = &ourport->port;
struct tty_struct *tty = port->info->tty; struct tty_struct *tty = port->info->port.tty;
unsigned int ufcon, ch, flag, ufstat, uerstat; unsigned int ufcon, ch, flag, ufstat, uerstat;
int max_count = 64; int max_count = 64;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment