Re: [PATCH] net/via-rhine: convert MODULE_PARM to module_param

From: Roger Luethi
Date: Tue Nov 30 2004 - 09:04:31 EST


On Tue, 30 Nov 2004 00:58:58 +0100, Jesper Juhl wrote:
> These warnings told me that it was time to move to module_param() :)
>
> drivers/net/via-rhine.c:229: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:562)
> drivers/net/via-rhine.c:230: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:562)
> drivers/net/via-rhine.c:231: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:562)
>
> So I made this small patch to do so.
> Compile and boot tested on my box, and it seems to work just fine, the
> module works perfectly with my via-rhine card, and the parameters are
> exposed through sysfs as expected :

IIRC Jeff has already queued such a patch for 2.6.11. Thanks, though.

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