All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] convert orinoco_cs wireless driver to module_param
@ 2004-11-09 21:35 Stefan Sperling
  0 siblings, 0 replies; only message in thread
From: Stefan Sperling @ 2004-11-09 21:35 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]


Replaces MODULE_PARM with module_param calls in orinoco_cs wireless driver.

--- drivers/net/wireless/orinoco_cs.c.orig	2004-11-09 20:40:22.020919624 +0100
+++ drivers/net/wireless/orinoco_cs.c	2004-11-08 23:10:34.000000000 +0100
@@ -64,9 +64,9 @@ static int irq_list[4] = { -1 };
  * don't have any CIS entry for it. This workaround it... */
 static int ignore_cis_vcc; /* = 0 */
 
-MODULE_PARM(irq_mask, "i");
-MODULE_PARM(irq_list, "1-4i");
-MODULE_PARM(ignore_cis_vcc, "i");
+module_param(irq_mask, uint, 0444);
+module_param_array(irq_list, int, NULL, 0444);
+module_param(ignore_cis_vcc, bool, 0644);
 
 /********************************************************************/
 /* Magic constants						    */

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-09 21:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-09 21:35 [KJ] [PATCH] convert orinoco_cs wireless driver to module_param Stefan Sperling

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.