From: Stefan Sperling Date: Tue, 09 Nov 2004 21:36:10 +0000 Subject: [KJ] [PATCH] convert ray_cs wireless driver to module_param Message-Id: <20041109213610.GH9496@dice.seeling33.de> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============55899459127843221==" List-Id: To: kernel-janitors@vger.kernel.org --===============55899459127843221== Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Replaces MODULE_PARM with module_param calls in ray_cs wireless driver. --- drivers/net/wireless/ray_cs.c.orig 2004-11-09 20:40:22.056914152 +0100 +++ drivers/net/wireless/ray_cs.c 2004-11-08 20:58:55.000000000 +0100 @@ -84,7 +84,7 @@ typedef u_char mac_addr[ETH_ALEN]; /* Ha #ifdef PCMCIA_DEBUG static int ray_debug; static int pc_debug = PCMCIA_DEBUG; -MODULE_PARM(pc_debug, "i"); +module_param(pc_debug, bool, 0644); /* #define DEBUG(n, args...) if (pc_debug>(n)) printk(KERN_DEBUG args); */ #define DEBUG(n, args...) if (pc_debug>(n)) printk(args); #else @@ -226,18 +226,18 @@ MODULE_AUTHOR("Corey Thomas