aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r--include/linux/tty.h2
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);
405extern struct tty_struct *tty_kopen(dev_t device); 405extern struct tty_struct *tty_kopen(dev_t device);
406extern void tty_kclose(struct tty_struct *tty); 406extern void tty_kclose(struct tty_struct *tty);
407extern int tty_dev_name_to_number(const char *name, dev_t *number); 407extern int tty_dev_name_to_number(const char *name, dev_t *number);
408extern int tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout);
409extern void tty_ldisc_unlock(struct tty_struct *tty);
408#else 410#else
409static inline void tty_kref_put(struct tty_struct *tty) 411static inline void tty_kref_put(struct tty_struct *tty)
410{ } 412{ }