diff options
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/chan_kern.h | 11 | ||||
-rw-r--r-- | arch/um/include/line.h | 22 |
2 files changed, 13 insertions, 20 deletions
diff --git a/arch/um/include/chan_kern.h b/arch/um/include/chan_kern.h index da9a6717e7a4..9ac069107107 100644 --- a/arch/um/include/chan_kern.h +++ b/arch/um/include/chan_kern.h | |||
@@ -47,14 +47,3 @@ extern int chan_config_string(struct list_head *chans, char *str, int size, | |||
47 | char **error_out); | 47 | char **error_out); |
48 | 48 | ||
49 | #endif | 49 | #endif |
50 | |||
51 | /* | ||
52 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
53 | * Emacs will notice this stuff at the end of the file and automatically | ||
54 | * adjust the settings for this buffer only. This must remain at the end | ||
55 | * of the file. | ||
56 | * --------------------------------------------------------------------------- | ||
57 | * Local variables: | ||
58 | * c-file-style: "linux" | ||
59 | * End: | ||
60 | */ | ||
diff --git a/arch/um/include/line.h b/arch/um/include/line.h index 5323d22a6ca7..315788ce59fa 100644 --- a/arch/um/include/line.h +++ b/arch/um/include/line.h | |||
@@ -64,8 +64,8 @@ struct line { | |||
64 | head : NULL, \ | 64 | head : NULL, \ |
65 | tail : NULL, \ | 65 | tail : NULL, \ |
66 | sigio : 0, \ | 66 | sigio : 0, \ |
67 | driver : d, \ | 67 | driver : d, \ |
68 | have_irq : 0 } | 68 | have_irq : 0 } |
69 | 69 | ||
70 | struct lines { | 70 | struct lines { |
71 | int num; | 71 | int num; |
@@ -74,11 +74,12 @@ struct lines { | |||
74 | #define LINES_INIT(n) { num : n } | 74 | #define LINES_INIT(n) { num : n } |
75 | 75 | ||
76 | extern void line_close(struct tty_struct *tty, struct file * filp); | 76 | extern void line_close(struct tty_struct *tty, struct file * filp); |
77 | extern int line_open(struct line *lines, struct tty_struct *tty, | 77 | extern int line_open(struct line *lines, struct tty_struct *tty, |
78 | struct chan_opts *opts); | 78 | struct chan_opts *opts); |
79 | extern int line_setup(struct line *lines, unsigned int sizeof_lines, char *init, | 79 | extern int line_setup(struct line *lines, unsigned int sizeof_lines, char *init, |
80 | int all_allowed); | 80 | int all_allowed); |
81 | extern int line_write(struct tty_struct *tty, const unsigned char *buf, int len); | 81 | extern int line_write(struct tty_struct *tty, const unsigned char *buf, |
82 | int len); | ||
82 | extern void line_put_char(struct tty_struct *tty, unsigned char ch); | 83 | extern void line_put_char(struct tty_struct *tty, unsigned char ch); |
83 | extern void line_set_termios(struct tty_struct *tty, struct termios * old); | 84 | extern void line_set_termios(struct tty_struct *tty, struct termios * old); |
84 | extern int line_chars_in_buffer(struct tty_struct *tty); | 85 | extern int line_chars_in_buffer(struct tty_struct *tty); |
@@ -89,21 +90,24 @@ extern int line_ioctl(struct tty_struct *tty, struct file * file, | |||
89 | unsigned int cmd, unsigned long arg); | 90 | unsigned int cmd, unsigned long arg); |
90 | 91 | ||
91 | extern char *add_xterm_umid(char *base); | 92 | extern char *add_xterm_umid(char *base); |
92 | extern int line_setup_irq(int fd, int input, int output, struct tty_struct *tty); | 93 | extern int line_setup_irq(int fd, int input, int output, |
94 | struct tty_struct *tty); | ||
93 | extern void line_close_chan(struct line *line); | 95 | extern void line_close_chan(struct line *line); |
94 | extern void line_disable(struct tty_struct *tty, int current_irq); | 96 | extern void line_disable(struct tty_struct *tty, int current_irq); |
95 | extern struct tty_driver * line_register_devfs(struct lines *set, | 97 | extern struct tty_driver * line_register_devfs(struct lines *set, |
96 | struct line_driver *line_driver, | 98 | struct line_driver *line_driver, |
97 | struct tty_operations *driver, | 99 | struct tty_operations *driver, |
98 | struct line *lines, | 100 | struct line *lines, |
99 | int nlines); | 101 | int nlines); |
100 | extern void lines_init(struct line *lines, int nlines); | 102 | extern void lines_init(struct line *lines, int nlines); |
101 | extern void close_lines(struct line *lines, int nlines); | 103 | extern void close_lines(struct line *lines, int nlines); |
102 | 104 | ||
103 | extern int line_config(struct line *lines, unsigned int sizeof_lines, char *str); | 105 | extern int line_config(struct line *lines, unsigned int sizeof_lines, |
106 | char *str); | ||
104 | extern int line_id(char **str, int *start_out, int *end_out); | 107 | extern int line_id(char **str, int *start_out, int *end_out); |
105 | extern int line_remove(struct line *lines, unsigned int sizeof_lines, int n); | 108 | extern int line_remove(struct line *lines, unsigned int sizeof_lines, int n); |
106 | extern int line_get_config(char *dev, struct line *lines, unsigned int sizeof_lines, char *str, | 109 | extern int line_get_config(char *dev, struct line *lines, |
110 | unsigned int sizeof_lines, char *str, | ||
107 | int size, char **error_out); | 111 | int size, char **error_out); |
108 | 112 | ||
109 | #endif | 113 | #endif |