Re: [PATCH] Remove MODULE_PARM from i386 defconfig.

From: Rusty Russell
Date: Wed Oct 20 2004 - 19:56:34 EST


On Wed, 2004-10-20 at 21:23, Takashi Iwai wrote:
> 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?

Yes, it was looking at the ALSA code in particular that I decided we
needed this, and hence the change. My patch cleans most of those up, I
think.

Thanks!
Rusty.
--
Anyone who quotes me in their signature is an idiot -- Rusty Russell

-
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/