diff options
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r-- | include/linux/tty.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 7ac8ba208b1f..0a6c71e0ad01 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -405,6 +405,8 @@ extern const char *tty_name(const struct tty_struct *tty); | |||
405 | extern struct tty_struct *tty_kopen(dev_t device); | 405 | extern struct tty_struct *tty_kopen(dev_t device); |
406 | extern void tty_kclose(struct tty_struct *tty); | 406 | extern void tty_kclose(struct tty_struct *tty); |
407 | extern int tty_dev_name_to_number(const char *name, dev_t *number); | 407 | extern int tty_dev_name_to_number(const char *name, dev_t *number); |
408 | extern int tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout); | ||
409 | extern void tty_ldisc_unlock(struct tty_struct *tty); | ||
408 | #else | 410 | #else |
409 | static inline void tty_kref_put(struct tty_struct *tty) | 411 | static inline void tty_kref_put(struct tty_struct *tty) |
410 | { } | 412 | { } |