diff options
author | Richard Weinberger <richard@nod.at> | 2012-06-04 23:57:24 +0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2012-07-28 19:47:59 +0400 |
commit | 79e0273d187c807dfec8d0cf450b8187cab5d3af (patch) | |
tree | a4db32f26fb7534dd0b9bd11a94e180bb33b2ff8 /arch/um/drivers/line.h | |
parent | df7b86f313fd26b5021afde7e66b35f9267b1261 (diff) | |
download | linux-79e0273d187c807dfec8d0cf450b8187cab5d3af.tar.xz |
um: fully use tty_port
... use all tty_port helpers
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers/line.h')
-rw-r--r-- | arch/um/drivers/line.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/um/drivers/line.h b/arch/um/drivers/line.h index 6c3b252bf480..ad00f3e11ecc 100644 --- a/arch/um/drivers/line.h +++ b/arch/um/drivers/line.h @@ -58,7 +58,11 @@ struct line { }; extern void line_close(struct tty_struct *tty, struct file * filp); -extern int line_open(struct line *lines, struct tty_struct *tty); +extern int line_open(struct tty_struct *tty, struct file *filp); +extern int line_install(struct tty_driver *driver, struct tty_struct *tty, + struct line *line); +extern void line_cleanup(struct tty_struct *tty); +extern void line_hangup(struct tty_struct *tty); extern int line_setup(char **conf, unsigned nlines, char **def, char *init, char *name); extern int line_write(struct tty_struct *tty, const unsigned char *buf, |