diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2008-08-04 17:22:11 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-04 17:12:06 -0700 |
commit | b1cbefe5d5fc2d4a6109961d914027172ce8e152 (patch) | |
tree | d05389e191a280d4c6dc27689f95bc6b710f09e5 /drivers | |
parent | c635fd3d3de9dec4729135add72c2ff32595605b (diff) | |
download | op-kernel-dev-b1cbefe5d5fc2d4a6109961d914027172ce8e152.zip op-kernel-dev-b1cbefe5d5fc2d4a6109961d914027172ce8e152.tar.gz |
blackfin: Fix compile failure in tty code
Blackfin peers into the ldisc in an odd way for IRDA snooping which
therefore got missed. Simple enough fix.
Closes bug #11233
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/bfin_5xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c index 9d85437..efcd443 100644 --- a/drivers/serial/bfin_5xx.c +++ b/drivers/serial/bfin_5xx.c @@ -817,7 +817,7 @@ static void bfin_serial_set_ldisc(struct uart_port *port) if (line >= port->info->port.tty->driver->num) return; - switch (port->info->port.tty->ldisc.num) { + switch (port->info->port.tty->termios->c_line) { case N_IRDA: val = UART_GET_GCTL(&bfin_serial_ports[line]); val |= (IREN | RPOLC); |