diff options
-rw-r--r-- | drivers/char/nozomi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/nozomi.c b/drivers/char/nozomi.c index a6638003f53..21ae1b158b3 100644 --- a/drivers/char/nozomi.c +++ b/drivers/char/nozomi.c @@ -1611,6 +1611,7 @@ static int ntty_install(struct tty_driver *driver, struct tty_struct *tty) ret = tty_init_termios(tty); if (ret == 0) { tty_driver_kref_get(driver); + tty->count++; driver->ttys[tty->index] = tty; } return ret; |