mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 17:00:08 -04:00
[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: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
d735410a27
commit
e930790d2b
@@ -2683,7 +2683,7 @@ static int __init mxser_module_init(void)
|
||||
|
||||
/* Initialize the tty_driver structure */
|
||||
mxvar_sdriver->magic = TTY_DRIVER_MAGIC;
|
||||
mxvar_sdriver->name = "ttyM";
|
||||
mxvar_sdriver->name = "ttyMI";
|
||||
mxvar_sdriver->major = ttymajor;
|
||||
mxvar_sdriver->minor_start = 0;
|
||||
mxvar_sdriver->num = MXSER_PORTS + 1;
|
||||
|
||||
Reference in New Issue
Block a user