]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/mxser_new.c
[PATCH] Char: mxser, fix oops when removing opened
[linux-2.6-omap-h63xx.git] / drivers / char / mxser_new.c
index cd989dce7c5387891ba8685fae2503fd62d0e78e..1bb030b3a51a6ec3017cf2d21537ceef4f6f1fbf 100644 (file)
@@ -2690,6 +2690,7 @@ static int __init mxser_module_init(void)
                MXSER_VERSION);
 
        /* Initialize the tty_driver structure */
+       mxvar_sdriver->owner = THIS_MODULE;
        mxvar_sdriver->magic = TTY_DRIVER_MAGIC;
        mxvar_sdriver->name = "ttyMI";
        mxvar_sdriver->major = ttymajor;