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 f9fa237..3e0366e 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;