diff options
Diffstat (limited to 'arch/um/drivers/line.h')
-rw-r--r-- | arch/um/drivers/line.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/um/drivers/line.h b/arch/um/drivers/line.h index 0a1834719dba..bae95611e7ab 100644 --- a/arch/um/drivers/line.h +++ b/arch/um/drivers/line.h | |||
@@ -32,9 +32,7 @@ struct line_driver { | |||
32 | }; | 32 | }; |
33 | 33 | ||
34 | struct line { | 34 | struct line { |
35 | struct tty_struct *tty; | 35 | struct tty_port port; |
36 | struct mutex count_lock; | ||
37 | unsigned long count; | ||
38 | int valid; | 36 | int valid; |
39 | 37 | ||
40 | char *init_str; | 38 | char *init_str; |
@@ -59,7 +57,11 @@ struct line { | |||
59 | }; | 57 | }; |
60 | 58 | ||
61 | extern void line_close(struct tty_struct *tty, struct file * filp); | 59 | extern void line_close(struct tty_struct *tty, struct file * filp); |
62 | extern int line_open(struct line *lines, struct tty_struct *tty); | 60 | extern int line_open(struct tty_struct *tty, struct file *filp); |
61 | extern int line_install(struct tty_driver *driver, struct tty_struct *tty, | ||
62 | struct line *line); | ||
63 | extern void line_cleanup(struct tty_struct *tty); | ||
64 | extern void line_hangup(struct tty_struct *tty); | ||
63 | extern int line_setup(char **conf, unsigned nlines, char **def, | 65 | extern int line_setup(char **conf, unsigned nlines, char **def, |
64 | char *init, char *name); | 66 | char *init, char *name); |
65 | extern int line_write(struct tty_struct *tty, const unsigned char *buf, | 67 | extern int line_write(struct tty_struct *tty, const unsigned char *buf, |
@@ -70,8 +72,6 @@ extern int line_chars_in_buffer(struct tty_struct *tty); | |||
70 | extern void line_flush_buffer(struct tty_struct *tty); | 72 | extern void line_flush_buffer(struct tty_struct *tty); |
71 | extern void line_flush_chars(struct tty_struct *tty); | 73 | extern void line_flush_chars(struct tty_struct *tty); |
72 | extern int line_write_room(struct tty_struct *tty); | 74 | extern int line_write_room(struct tty_struct *tty); |
73 | extern int line_ioctl(struct tty_struct *tty, unsigned int cmd, | ||
74 | unsigned long arg); | ||
75 | extern void line_throttle(struct tty_struct *tty); | 75 | extern void line_throttle(struct tty_struct *tty); |
76 | extern void line_unthrottle(struct tty_struct *tty); | 76 | extern void line_unthrottle(struct tty_struct *tty); |
77 | 77 | ||