static char *parport[LP_NO] = { NULL, };
static int reset = 0;
-module_param_array(parport, charp, NULL, 0);
-module_param(reset, bool, 0);
+MODULE_PARM(parport, "1-" __MODULE_STRING(LP_NO) "s");
+MODULE_PARM(reset, "i");
#ifndef MODULE
static int __init lp_setup (char *str)