aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/chan_kern.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/chan_kern.h')
-rw-r--r--arch/um/include/chan_kern.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/um/include/chan_kern.h b/arch/um/include/chan_kern.h
index 9ac069107107..22bf3a73437c 100644
--- a/arch/um/include/chan_kern.h
+++ b/arch/um/include/chan_kern.h
@@ -20,15 +20,14 @@ struct chan {
20 unsigned int output:1; 20 unsigned int output:1;
21 unsigned int opened:1; 21 unsigned int opened:1;
22 int fd; 22 int fd;
23 enum chan_init_pri pri;
24 struct chan_ops *ops; 23 struct chan_ops *ops;
25 void *data; 24 void *data;
26}; 25};
27 26
28extern void chan_interrupt(struct list_head *chans, struct work_struct *task, 27extern void chan_interrupt(struct list_head *chans, struct work_struct *task,
29 struct tty_struct *tty, int irq); 28 struct tty_struct *tty, int irq);
30extern int parse_chan_pair(char *str, struct list_head *chans, int pri, 29extern int parse_chan_pair(char *str, struct list_head *chans, int device,
31 int device, struct chan_opts *opts); 30 struct chan_opts *opts);
32extern int open_chan(struct list_head *chans); 31extern int open_chan(struct list_head *chans);
33extern int write_chan(struct list_head *chans, const char *buf, int len, 32extern int write_chan(struct list_head *chans, const char *buf, int len,
34 int write_irq); 33 int write_irq);