cris: Fix compile failure due to typo in serial driver
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 12 May 2008 11:31:37 +0000 (12:31 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 12 May 2008 14:27:38 +0000 (07:27 -0700)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/crisv10.c

index f9fa237aa9496d7cdf88d4cd0589d8b8391ae351..3e0366eab412878258f993f16a0fc1804c401e8c 100644 (file)
@@ -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;