Commit e930790d authored by Jiri Slaby's avatar Jiri Slaby Committed by Linus Torvalds

[PATCH] mxser_new: correct tty driver name

Mxser tty driver name should be ttyMI, not ttyM.  Correct this in mxser_new to
avoid conflicts with isicom driver, which is ttyM.
Acked-by: default avatarAlan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d735410a
...@@ -2683,7 +2683,7 @@ static int __init mxser_module_init(void) ...@@ -2683,7 +2683,7 @@ static int __init mxser_module_init(void)
/* Initialize the tty_driver structure */ /* Initialize the tty_driver structure */
mxvar_sdriver->magic = TTY_DRIVER_MAGIC; mxvar_sdriver->magic = TTY_DRIVER_MAGIC;
mxvar_sdriver->name = "ttyM"; mxvar_sdriver->name = "ttyMI";
mxvar_sdriver->major = ttymajor; mxvar_sdriver->major = ttymajor;
mxvar_sdriver->minor_start = 0; mxvar_sdriver->minor_start = 0;
mxvar_sdriver->num = MXSER_PORTS + 1; mxvar_sdriver->num = MXSER_PORTS + 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment