tty: use the new 'flush_delayed_work()' helper to do ldisc flush
[safe/jmp/linux-2.6] / drivers / char / tty_buffer.c
index 0296612..66fa4e1 100644 (file)
@@ -468,7 +468,7 @@ static void flush_to_ldisc(struct work_struct *work)
  */
 void tty_flush_to_ldisc(struct tty_struct *tty)
 {
-       flush_to_ldisc(&tty->buf.work.work);
+       flush_delayed_work(&tty->buf.work);
 }
 
 /**