tty: push the BKL down into the handlers a bit
[firefly-linux-kernel-4.4.55.git] / include / linux / tty.h
index e6da667ba34df265535e8a1d15feef4611829bd1..405a9035fe40601114e02d77a98aa0090bcd8646 100644 (file)
@@ -449,7 +449,7 @@ extern void initialize_tty_struct(struct tty_struct *tty,
                struct tty_driver *driver, int idx);
 extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx,
                                                                int first_ok);
-extern void tty_release_dev(struct file *filp);
+extern int tty_release(struct inode *inode, struct file *filp);
 extern int tty_init_termios(struct tty_struct *tty);
 
 extern struct tty_struct *tty_pair_get_tty(struct tty_struct *tty);