diff options
Diffstat (limited to 'drivers/char/tty_io.c')
-rw-r--r-- | drivers/char/tty_io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 333741770f1e..e90ea39c7c4b 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c | |||
@@ -3680,7 +3680,8 @@ void put_tty_driver(struct tty_driver *driver) | |||
3680 | kfree(driver); | 3680 | kfree(driver); |
3681 | } | 3681 | } |
3682 | 3682 | ||
3683 | void tty_set_operations(struct tty_driver *driver, struct tty_operations *op) | 3683 | void tty_set_operations(struct tty_driver *driver, |
3684 | const struct tty_operations *op) | ||
3684 | { | 3685 | { |
3685 | driver->open = op->open; | 3686 | driver->open = op->open; |
3686 | driver->close = op->close; | 3687 | driver->close = op->close; |