]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/serial/68328serial.c
Merge branch 'master'
[karo-tx-linux.git] / drivers / serial / 68328serial.c
index 8cbf0fc5a225ce0ba54a8a9eeb85ce65e15bfd12..7f0f35a05dcac35e30a05cce2f962ccf7e0510e6 100644 (file)
@@ -332,7 +332,7 @@ static _INLINE_ void receive_chars(struct m68k_serial *info, struct pt_regs *reg
                 * Make sure that we do not overflow the buffer
                 */
                if (tty_request_buffer_room(tty, 1) == 0) {
-                       schedule_work(&tty->flip.work);
+                       tty_schedule_flip(tty);
                        return;
                }
 
@@ -353,7 +353,7 @@ static _INLINE_ void receive_chars(struct m68k_serial *info, struct pt_regs *reg
        } while((rx = uart->urx.w) & URX_DATA_READY);
 #endif
 
-       schedule_work(&tty->flip.work);
+       tty_schedule_flip(tty);
 
 clear_and_exit:
        return;