aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tty_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/tty_io.c')
-rw-r--r--drivers/char/tty_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index e90ea39c7c4b..7297acfe520c 100644
--- a/drivers/char/tty_io.c
+++ b/drivers/char/tty_io.c
@@ -3580,7 +3580,7 @@ static void initialize_tty_struct(struct tty_struct *tty)
3580 tty->overrun_time = jiffies; 3580 tty->overrun_time = jiffies;
3581 tty->buf.head = tty->buf.tail = NULL; 3581 tty->buf.head = tty->buf.tail = NULL;
3582 tty_buffer_init(tty); 3582 tty_buffer_init(tty);
3583 INIT_WORK(&tty->buf.work, flush_to_ldisc, tty); 3583 INIT_DELAYED_WORK(&tty->buf.work, flush_to_ldisc, tty);
3584 init_MUTEX(&tty->buf.pty_sem); 3584 init_MUTEX(&tty->buf.pty_sem);
3585 mutex_init(&tty->termios_mutex); 3585 mutex_init(&tty->termios_mutex);
3586 init_waitqueue_head(&tty->write_wait); 3586 init_waitqueue_head(&tty->write_wait);