From: Alan Cox Date: Mon, 12 May 2008 11:31:37 +0000 (+0100) Subject: cris: Fix compile failure due to typo in serial driver X-Git-Tag: v2.6.26-rc3~135 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=454aa3899f0bebb5aa7f8788690668d106f9a34f;p=linux-2.6-omap-h63xx.git cris: Fix compile failure due to typo in serial driver Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- diff --git a/drivers/serial/crisv10.c b/drivers/serial/crisv10.c index f9fa237aa94..3e0366eab41 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;