Re: [PATCH] Remove MODULE_PARM from i386 defconfig.

From: Takashi Iwai
Date: Wed Oct 20 2004 - 06:53:47 EST


Hi Rusty,

At Wed, 20 Oct 2004 17:50:09 +1000,
Rusty Russell wrote:
> @@ -749,8 +749,8 @@ static int parport_nr[LP_NO] = { [0 ...
> static char *parport[LP_NO] = { NULL, };
> static int reset = 0;
>
> -MODULE_PARM(parport, "1-" __MODULE_STRING(LP_NO) "s");
> -MODULE_PARM(reset, "i");
> +module_param_array(parport, charp, NULL, 0);

Can module_param_array() now take NULL for the third argument?

If yes, I'll clean up ALSA codes, which don't use the num argument at
all and pass just a dummy variable there.


Thanks,

--
Takashi Iwai <tiwai@xxxxxxx> ALSA Developer - www.alsa-project.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/