aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-06-11 07:48:02 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-11 11:51:01 -0400
commite8b70e7d3e86319a8b2aaabde3866833d92cd80f (patch)
treedac8e7b42f553ee3a9a0920e20b5a39da197b13a /include/linux/tty.h
parent5f0878acba7db24323f5ba4055ec9a96895bb150 (diff)
tty: Extract various bits of ldisc code
Before trying to tackle the ldisc bugs the code needs to be a good deal more readable, so do the simple extractions of routines first. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r--include/linux/tty.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index bed5a3d40307..f9c13c83790c 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -428,6 +428,9 @@ extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx,
428extern void tty_release_dev(struct file *filp); 428extern void tty_release_dev(struct file *filp);
429extern int tty_init_termios(struct tty_struct *tty); 429extern int tty_init_termios(struct tty_struct *tty);
430 430
431extern struct tty_struct *tty_pair_get_tty(struct tty_struct *tty);
432extern struct tty_struct *tty_pair_get_pty(struct tty_struct *tty);
433
431extern struct mutex tty_mutex; 434extern struct mutex tty_mutex;
432 435
433extern void tty_write_unlock(struct tty_struct *tty); 436extern void tty_write_unlock(struct tty_struct *tty);