summaryrefslogtreecommitdiff
path: root/arch/um/drivers/chan.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/chan.h')
-rw-r--r--arch/um/drivers/chan.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/drivers/chan.h b/arch/um/drivers/chan.h
index e14b9cdf7a33..5a61db512ffb 100644
--- a/arch/um/drivers/chan.h
+++ b/arch/um/drivers/chan.h
@@ -22,7 +22,8 @@ struct chan {
unsigned int output:1;
unsigned int opened:1;
unsigned int enabled:1;
- int fd;
+ int fd_in;
+ int fd_out; /* only different to fd_in if blocking output is needed */
const struct chan_ops *ops;
void *data;
};