aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/chan_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/chan_kern.c')
-rw-r--r--arch/um/drivers/chan_kern.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/um/drivers/chan_kern.c b/arch/um/drivers/chan_kern.c
index bce9b3427b09..7b8baf146acc 100644
--- a/arch/um/drivers/chan_kern.c
+++ b/arch/um/drivers/chan_kern.c
@@ -354,8 +354,7 @@ int console_write_chan(struct list_head *chans, const char *buf, int len)
354 return ret; 354 return ret;
355} 355}
356 356
357int console_open_chan(struct line *line, struct console *co, 357int console_open_chan(struct line *line, struct console *co)
358 const struct chan_opts *opts)
359{ 358{
360 int err; 359 int err;
361 360
@@ -363,7 +362,7 @@ int console_open_chan(struct line *line, struct console *co,
363 if(err) 362 if(err)
364 return err; 363 return err;
365 364
366 printk("Console initialized on /dev/%s%d\n",co->name,co->index); 365 printk("Console initialized on /dev/%s%d\n", co->name, co->index);
367 return 0; 366 return 0;
368} 367}
369 368