From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Sperling Date: Tue, 09 Nov 2004 23:38:36 +0000 Subject: [KJ] [PATCH] convert atmel_cs wireless driver to module_param Message-Id: <20041109233836.GB12555@dice.seeling33.de> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============82970646308754525==" List-Id: References: <20041109213307.GD9496@dice.seeling33.de> In-Reply-To: <20041109213307.GD9496@dice.seeling33.de> To: kernel-janitors@vger.kernel.org --===============82970646308754525== Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Replaces MODULE_PARM with module_param calls in atmel_cs wireless driver. Obsoletes my previously posted patch for this driver. --- drivers/net/wireless/atmel_cs.c.orig 2004-11-09 20:40:21.974926616 +0100 +++ drivers/net/wireless/atmel_cs.c 2004-11-10 00:18:53.123729032 +0100 @@ -65,7 +65,7 @@ */ #ifdef PCMCIA_DEBUG static int pc_debug = PCMCIA_DEBUG; -MODULE_PARM(pc_debug, "i"); +module_param(pc_debug, int, 0644); static char *version = "$Revision: 1.2 $"; #define DEBUG(n, args...) if (pc_debug>(n)) printk(KERN_DEBUG args); #else @@ -86,8 +86,8 @@ MODULE_AUTHOR("Simon Kelley"); MODULE_DESCRIPTION("Support for Atmel at76c50x 802.11 wireless ethernet cards."); MODULE_LICENSE("GPL"); MODULE_SUPPORTED_DEVICE("Atmel at76c50x PCMCIA cards"); -MODULE_PARM(irq_mask, "i"); -MODULE_PARM(irq_list, "1-4i"); +module_param(irq_mask, int, 0); +module_param_array(irq_list, int, NULL, 0); /*====================================================================*/ --===============82970646308754525== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.osdl.org http://lists.osdl.org/mailman/listinfo/kernel-janitors --===============82970646308754525==--