summaryrefslogtreecommitdiff
path: root/drivers/serial/cpm_uart
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2008-07-22 14:25:07 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-22 20:03:29 (GMT)
commitf10140fbe5f97ecfeda986a12d0f1bad75642779 (patch)
tree39300f51125936aafcb2d44b6953d916b3c31630 /drivers/serial/cpm_uart
parented569bfb8e5d0725db11018130e44eb567d829c1 (diff)
downloadlinux-f10140fbe5f97ecfeda986a12d0f1bad75642779.tar.xz
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: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/cpm_uart')
-rw-r--r--drivers/serial/cpm_uart/cpm_uart_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/cpm_uart/cpm_uart_core.c b/drivers/serial/cpm_uart/cpm_uart_core.c
index abe129c..93e407e 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)
int i;
unsigned char ch;
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;
cbd_t __iomem *bdp;
u16 status;