]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] mxser_new: correct tty driver name
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:38:35 +0000 (02:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:55 +0000 (08:28 -0800)
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>
drivers/char/mxser_new.c

index 355fbf2e4446f49ca1db5a1970b903b3fc05710b..4555d59733186446d013fc06d1c7d797c514d848 100644 (file)
@@ -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;