summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2008-08-04 16:22:11 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-08-05 00:12:06 (GMT)
commitb1cbefe5d5fc2d4a6109961d914027172ce8e152 (patch)
treed05389e191a280d4c6dc27689f95bc6b710f09e5
parentc635fd3d3de9dec4729135add72c2ff32595605b (diff)
downloadlinux-fsl-qoriq-b1cbefe5d5fc2d4a6109961d914027172ce8e152.tar.xz
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>
-rw-r--r--drivers/serial/bfin_5xx.c2
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);