[PATCH] m68knommu: use tty_schedule_flip() in 68360serial.c
authorGreg Ungerer <gerg@snapgear.com>
Tue, 7 Feb 2006 23:19:17 +0000 (09:19 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Feb 2006 00:16:54 +0000 (16:16 -0800)
Use the new tty_schedule_flip() instead of the original direct
schedule_work of the flip buffer.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/serial/68360serial.c

index 60f5a5dc17f1cf1cf4e10c38127690872d1df1bc..9843ae3d420e24f1441efc6513f0ed1ddbb945b2 100644 (file)
@@ -509,7 +509,7 @@ static _INLINE_ void receive_chars(ser_info_t *info)
 
        info->rx_cur = (QUICC_BD *)bdp;
 
-       schedule_work(&tty->flip.work);
+       tty_schedule_flip(tty);
 }
 
 static _INLINE_ void receive_break(ser_info_t *info)
@@ -521,7 +521,7 @@ static _INLINE_ void receive_break(ser_info_t *info)
         * the break.  If not, we exit now, losing the break.  FIXME
         */
        tty_insert_flip_char(tty, 0, TTY_BREAK);
-       schedule_work(&tty->flip.work);
+       tty_schedule_flip(tty);
 }
 
 static _INLINE_ void transmit_chars(ser_info_t *info)