diff options
author | Greg Ungerer <gerg@snapgear.com> | 2006-02-07 18:19:17 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-07 19:16:54 -0500 |
commit | e39485636b6db2def114f38104fe132af73ff0f5 (patch) | |
tree | 7afd8391b1ccf95b8778dae65386b81fa890747d | |
parent | 230afb065bfe05887dd83a0fbb149dc2bff7d63e (diff) |
[PATCH] m68knommu: use tty_schedule_flip() in 68360serial.c
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>
-rw-r--r-- | drivers/serial/68360serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/68360serial.c b/drivers/serial/68360serial.c index 60f5a5dc17f1..9843ae3d420e 100644 --- a/drivers/serial/68360serial.c +++ b/drivers/serial/68360serial.c | |||
@@ -509,7 +509,7 @@ static _INLINE_ void receive_chars(ser_info_t *info) | |||
509 | 509 | ||
510 | info->rx_cur = (QUICC_BD *)bdp; | 510 | info->rx_cur = (QUICC_BD *)bdp; |
511 | 511 | ||
512 | schedule_work(&tty->flip.work); | 512 | tty_schedule_flip(tty); |
513 | } | 513 | } |
514 | 514 | ||
515 | static _INLINE_ void receive_break(ser_info_t *info) | 515 | static _INLINE_ void receive_break(ser_info_t *info) |
@@ -521,7 +521,7 @@ static _INLINE_ void receive_break(ser_info_t *info) | |||
521 | * the break. If not, we exit now, losing the break. FIXME | 521 | * the break. If not, we exit now, losing the break. FIXME |
522 | */ | 522 | */ |
523 | tty_insert_flip_char(tty, 0, TTY_BREAK); | 523 | tty_insert_flip_char(tty, 0, TTY_BREAK); |
524 | schedule_work(&tty->flip.work); | 524 | tty_schedule_flip(tty); |
525 | } | 525 | } |
526 | 526 | ||
527 | static _INLINE_ void transmit_chars(ser_info_t *info) | 527 | static _INLINE_ void transmit_chars(ser_info_t *info) |