From: Jiri Slaby Date: Fri, 8 Dec 2006 10:38:35 +0000 (-0800) Subject: [PATCH] mxser_new: correct tty driver name X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e930790d2b2ed2166e68858f0068e629bfcf5c33;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c index 355fbf2e4446..4555d5973318 100644 --- a/drivers/char/mxser_new.c +++ b/drivers/char/mxser_new.c @@ -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;