--- ndiswrapper-0.10/driver/wrapper.c.old	2004-12-02 21:50:10.000000000 -0200
+++ ndiswrapper-0.10/driver/wrapper.c	2004-12-02 21:51:38.000000000 -0200
@@ -60,13 +60,13 @@ static char *if_name = "wlan%d";
 int proc_uid, proc_gid;
 static int hangcheck_interval;
 
-MODULE_PARM(if_name, "s");
+module_param(if_name, charp, 0);
 MODULE_PARM_DESC(if_name, "Network interface name or template (default: wlan%d)");
-MODULE_PARM(proc_uid, "i");
+module_param(proc_uid, int, 0);
 MODULE_PARM_DESC(proc_uid, "The uid of the files created in /proc (default: 0).");
-MODULE_PARM(proc_gid, "i");
+module_param(proc_gid, int, 0);
 MODULE_PARM_DESC(proc_gid, "The gid of the files created in /proc (default: 0).");
-MODULE_PARM(hangcheck_interval, "i");
+module_param(hangcheck_interval, int, 0);
 /* 0 - default value provided by NDIS driver,
  * positive value - force hangcheck interval to that many seconds
  * negative value - disable hangcheck

