提交 f10140fb 编写于 作者: A Alan Cox 提交者: 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: NAlan Cox <alan@redhat.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册