diff options
author | Alan Cox <alan@redhat.com> | 2008-07-22 06:16:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-22 16:03:27 -0400 |
commit | 01e1abb2c27e43339b8829a2e3b1c6f53806b77a (patch) | |
tree | 9020ed77e480731af30061e3e6072a75a7266f7c /include/linux/tty.h | |
parent | d76f2f4462bbb2cf7bc83a35c5278177aa627e89 (diff) |
tty: Split ldisc code into its own file
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r-- | include/linux/tty.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 4e5833073aa6..e3579cb086e0 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -317,8 +317,6 @@ extern void tty_wait_until_sent(struct tty_struct *tty, long timeout); | |||
317 | extern int tty_check_change(struct tty_struct *tty); | 317 | extern int tty_check_change(struct tty_struct *tty); |
318 | extern void stop_tty(struct tty_struct *tty); | 318 | extern void stop_tty(struct tty_struct *tty); |
319 | extern void start_tty(struct tty_struct *tty); | 319 | extern void start_tty(struct tty_struct *tty); |
320 | extern int tty_register_ldisc(int disc, struct tty_ldisc_ops *new_ldisc); | ||
321 | extern int tty_unregister_ldisc(int disc); | ||
322 | extern int tty_register_driver(struct tty_driver *driver); | 320 | extern int tty_register_driver(struct tty_driver *driver); |
323 | extern int tty_unregister_driver(struct tty_driver *driver); | 321 | extern int tty_unregister_driver(struct tty_driver *driver); |
324 | extern struct device *tty_register_device(struct tty_driver *driver, | 322 | extern struct device *tty_register_device(struct tty_driver *driver, |
@@ -383,6 +381,15 @@ extern void tty_port_init(struct tty_port *port); | |||
383 | extern int tty_port_alloc_xmit_buf(struct tty_port *port); | 381 | extern int tty_port_alloc_xmit_buf(struct tty_port *port); |
384 | extern void tty_port_free_xmit_buf(struct tty_port *port); | 382 | extern void tty_port_free_xmit_buf(struct tty_port *port); |
385 | 383 | ||
384 | extern int tty_register_ldisc(int disc, struct tty_ldisc_ops *new_ldisc); | ||
385 | extern int tty_unregister_ldisc(int disc); | ||
386 | extern int tty_set_ldisc(struct tty_struct *tty, int ldisc); | ||
387 | extern int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty); | ||
388 | extern void tty_ldisc_release(struct tty_struct *tty, struct tty_struct *o_tty); | ||
389 | extern void tty_ldisc_init(struct tty_struct *tty); | ||
390 | extern void tty_ldisc_begin(void); | ||
391 | /* This last one is just for the tty layer internals and shouldn't be used elsewhere */ | ||
392 | extern void tty_ldisc_enable(struct tty_struct *tty); | ||
386 | 393 | ||
387 | 394 | ||
388 | /* n_tty.c */ | 395 | /* n_tty.c */ |