diff options
Diffstat (limited to 'arch/um/drivers/line.c')
-rw-r--r-- | arch/um/drivers/line.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c index e620ed46ed3f..433e572fb196 100644 --- a/arch/um/drivers/line.c +++ b/arch/um/drivers/line.c | |||
@@ -707,10 +707,9 @@ int line_remove(struct line *lines, unsigned int num, int n, char **error_out) | |||
707 | return err; | 707 | return err; |
708 | } | 708 | } |
709 | 709 | ||
710 | struct tty_driver *line_register_devfs(struct lines *set, | 710 | struct tty_driver *register_lines(struct line_driver *line_driver, |
711 | struct line_driver *line_driver, | 711 | const struct tty_operations *ops, |
712 | const struct tty_operations *ops, | 712 | struct line *lines, int nlines) |
713 | struct line *lines, int nlines) | ||
714 | { | 713 | { |
715 | int i; | 714 | int i; |
716 | struct tty_driver *driver = alloc_tty_driver(nlines); | 715 | struct tty_driver *driver = alloc_tty_driver(nlines); |