summaryrefslogtreecommitdiff
path: root/drivers/serial/crisv10.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2008-05-12 15:31:37 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-12 18:27:38 +0400
commit454aa3899f0bebb5aa7f8788690668d106f9a34f (patch)
treea091bc27268b7be1b083c5dec0b0330ee97df631 /drivers/serial/crisv10.c
parent79f999d0aa264f72f5491be14b4bf60137a3d3a9 (diff)
downloadlinux-454aa3899f0bebb5aa7f8788690668d106f9a34f.tar.xz
cris: Fix compile failure due to typo in serial driver
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/crisv10.c')
-rw-r--r--drivers/serial/crisv10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/crisv10.c b/drivers/serial/crisv10.c
index f9fa237aa949..3e0366eab412 100644
--- a/drivers/serial/crisv10.c
+++ b/drivers/serial/crisv10.c
@@ -3808,7 +3808,7 @@ rs_close(struct tty_struct *tty, struct file * filp)
shutdown(info);
rs_flush_buffer(tty);
- tty_ldisc_flush_buffer(tty);
+ tty_ldisc_flush(tty);
tty->closing = 0;
info->event = 0;
info->tty = 0;