diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-06-04 07:35:32 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-13 20:30:53 -0400 |
commit | 695586ca20c56cf8cfa87160383307a288d32496 (patch) | |
tree | fa67a6755a9b6f5a3dd3ab9104f4f4bfc2bf16ae /include/linux/tty.h | |
parent | 4c2ef53d3bfb36659c47ba589f35bcab24f425c7 (diff) |
TTY: provide drivers with tty_port_install
This will be used in tty_ops->install to set tty->port (and to call
tty_standard_install).
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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 9f47ab540f65..45ef71df0e72 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -521,6 +521,8 @@ extern int tty_port_close_start(struct tty_port *port, | |||
521 | extern void tty_port_close_end(struct tty_port *port, struct tty_struct *tty); | 521 | extern void tty_port_close_end(struct tty_port *port, struct tty_struct *tty); |
522 | extern void tty_port_close(struct tty_port *port, | 522 | extern void tty_port_close(struct tty_port *port, |
523 | struct tty_struct *tty, struct file *filp); | 523 | struct tty_struct *tty, struct file *filp); |
524 | extern int tty_port_install(struct tty_port *port, struct tty_driver *driver, | ||
525 | struct tty_struct *tty); | ||
524 | extern int tty_port_open(struct tty_port *port, | 526 | extern int tty_port_open(struct tty_port *port, |
525 | struct tty_struct *tty, struct file *filp); | 527 | struct tty_struct *tty, struct file *filp); |
526 | static inline int tty_port_users(struct tty_port *port) | 528 | static inline int tty_port_users(struct tty_port *port) |