diff options
Diffstat (limited to 'drivers/char/epca.c')
-rw-r--r-- | drivers/char/epca.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/epca.c b/drivers/char/epca.c index 60a4df7dac12..aa8e19f44b45 100644 --- 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, | |||
2262 | tty_wait_until_sent(tty, 0); | 2262 | tty_wait_until_sent(tty, 0); |
2263 | } else { | 2263 | } else { |
2264 | /* ldisc lock already held in ioctl */ | 2264 | /* ldisc lock already held in ioctl */ |
2265 | if (tty->ldisc.flush_buffer) | 2265 | if (tty->ldisc.ops->flush_buffer) |
2266 | tty->ldisc.flush_buffer(tty); | 2266 | tty->ldisc.ops->flush_buffer(tty); |
2267 | } | 2267 | } |
2268 | unlock_kernel(); | 2268 | unlock_kernel(); |
2269 | /* Fall Thru */ | 2269 | /* Fall Thru */ |