summaryrefslogtreecommitdiffstats
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/chan.h b/arch/um/drivers/chan.h
index 3fec3b8406..e14b9cdf7a 100644
--- a/arch/um/drivers/chan.h
+++ b/arch/um/drivers/chan.h
@@ -30,7 +30,7 @@ struct chan {
extern void chan_interrupt(struct line *line, int irq);
extern int parse_chan_pair(char *str, struct line *line, int device,
const struct chan_opts *opts, char **error_out);
-extern int write_chan(struct chan *chan, const char *buf, int len,
+extern int write_chan(struct chan *chan, const u8 *buf, size_t len,
int write_irq);
extern int console_write_chan(struct chan *chan, const char *buf,
int len);