Explorar o código

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>
Alan Cox %!s(int64=17) %!d(string=hai) anos
pai
achega
454aa3899f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/serial/crisv10.c

+ 1 - 1
drivers/serial/crisv10.c

@@ -3808,7 +3808,7 @@ rs_close(struct tty_struct *tty, struct file * filp)
 
 
 	shutdown(info);
 	shutdown(info);
 	rs_flush_buffer(tty);
 	rs_flush_buffer(tty);
-	tty_ldisc_flush_buffer(tty);
+	tty_ldisc_flush(tty);
 	tty->closing = 0;
 	tty->closing = 0;
 	info->event = 0;
 	info->event = 0;
 	info->tty = 0;
 	info->tty = 0;