aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/line.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/line.c')
-rw-r--r--arch/um/drivers/line.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c
index 563ce7690a1e..24747a413785 100644
--- a/arch/um/drivers/line.c
+++ b/arch/um/drivers/line.c
@@ -642,9 +642,9 @@ int line_remove(struct line *lines, unsigned int num, int n)
642} 642}
643 643
644struct tty_driver *line_register_devfs(struct lines *set, 644struct tty_driver *line_register_devfs(struct lines *set,
645 struct line_driver *line_driver, 645 struct line_driver *line_driver,
646 struct tty_operations *ops, struct line *lines, 646 const struct tty_operations *ops,
647 int nlines) 647 struct line *lines, int nlines)
648{ 648{
649 int i; 649 int i;
650 struct tty_driver *driver = alloc_tty_driver(nlines); 650 struct tty_driver *driver = alloc_tty_driver(nlines);