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: firefly_0821_release~20389 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=454aa3899f0bebb5aa7f8788690668d106f9a34f;p=firefly-linux-kernel-4.4.55.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 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;