aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2006-12-08 05:38:35 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:28:55 -0500
commite930790d2b2ed2166e68858f0068e629bfcf5c33 (patch)
treedbc599eeebbf3581c66628c5fe7327fe97dbec0c
parentd735410a275991db736b3c8d7ef2e17ee114f5a6 (diff)
[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>
-rw-r--r--drivers/char/mxser_new.c2
1 files changed, 1 insertions, 1 deletions
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)
2683 2683
2684 /* Initialize the tty_driver structure */ 2684 /* Initialize the tty_driver structure */
2685 mxvar_sdriver->magic = TTY_DRIVER_MAGIC; 2685 mxvar_sdriver->magic = TTY_DRIVER_MAGIC;
2686 mxvar_sdriver->name = "ttyM"; 2686 mxvar_sdriver->name = "ttyMI";
2687 mxvar_sdriver->major = ttymajor; 2687 mxvar_sdriver->major = ttymajor;
2688 mxvar_sdriver->minor_start = 0; 2688 mxvar_sdriver->minor_start = 0;
2689 mxvar_sdriver->num = MXSER_PORTS + 1; 2689 mxvar_sdriver->num = MXSER_PORTS + 1;