projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tty: Ldisc revamp
[linux-2.6-block.git]
/
drivers
/
char
/
epca.c
diff --git
a/drivers/char/epca.c
b/drivers/char/epca.c
index 60a4df7dac12ed9e073c29c991e97178d42c7e1b..aa8e19f44b45e028fbaa454de2af218e9f3542d2 100644
(file)
--- a/
drivers/char/epca.c
+++ b/
drivers/char/epca.c
@@
-2262,8
+2262,8
@@
static int pc_ioctl(struct tty_struct *tty, struct file *file,
tty_wait_until_sent(tty, 0);
} else {
/* ldisc lock already held in ioctl */
- if (tty->ldisc.flush_buffer)
- tty->ldisc.flush_buffer(tty);
+ if (tty->ldisc.
ops->
flush_buffer)
+ tty->ldisc.
ops->
flush_buffer(tty);
}
unlock_kernel();
/* Fall Thru */