summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2008-08-04 18:22:11 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-08-05 02:12:06 +0200
commitb1cbefe5d5fc2d4a6109961d914027172ce8e152 (patch)
treed05389e191a280d4c6dc27689f95bc6b710f09e5 /drivers
parentMerge git://git.infradead.org/users/dwmw2/random-2.6 (diff)
downloadlinux-b1cbefe5d5fc2d4a6109961d914027172ce8e152.tar.xz
linux-b1cbefe5d5fc2d4a6109961d914027172ce8e152.zip
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c
index 9d8543762a30..efcd44344fb1 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);