]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/mxser.c
[PATCH] USB serial: Converts port semaphore to mutexes.
[linux-2.6-omap-h63xx.git] / drivers / char / mxser.c
index ea725a9964e2007075db5e814422ceed52f84ee3..0fb2fb9fb024b6e9a85ad241105e29b5a6e49a68 100644 (file)
@@ -243,10 +243,10 @@ static int verbose = 0;
 
 MODULE_AUTHOR("Casper Yang");
 MODULE_DESCRIPTION("MOXA Smartio/Industio Family Multiport Board Device Driver");
-MODULE_PARM(ioaddr, "1-4i");
-MODULE_PARM(ttymajor, "i");
-MODULE_PARM(calloutmajor, "i");
-MODULE_PARM(verbose, "i");
+module_param_array(ioaddr, int, NULL, 0);
+module_param(ttymajor, int, 0);
+module_param(calloutmajor, int, 0);
+module_param(verbose, bool, 0);
 MODULE_LICENSE("GPL");
 
 struct mxser_log {