convert wl3501_cs wireless driver to module_param
Subsystems (2)
PATCH 1/1 convert wl3501_cs wireless driver to module_param
Replaces MODULE_PARM with module_param calls in wl3501_cs wireless driver.
net/wireless/wl3501_cs.c renamed from net/wireless/wl3501_cs.c.orig +3 -3
@@ -79,7 +79,7 @@#define PCMCIA_DEBUG 0#ifdef PCMCIA_DEBUG static int pc_debug =PCMCIA_DEBUG ; -MODULE_PARM (pc_debug,"i" ); +module_param (pc_debug, bool,0644 ); #define dprintk(n, format, args...) \ { if (pc_debug > (n)) \ printk(KERN_INFO "%s: " format "\n", __FUNCTION__ , ##args); }
@@ -2279,8 +2279,8 @@ static void __exit wl3501_exit_module(vomodule_init (wl3501_init_module);module_exit (wl3501_exit_module); -MODULE_PARM (wl3501_irq_mask,"i" ); -MODULE_PARM (wl3501_irq_list,"1-4i" ); +module_param (wl3501_irq_mask, long,0444 ); +module_param_array (wl3501_irq_list, int,NULL ,0444 );MODULE_AUTHOR ("Fox Chen <[email protected]>, " "Arnaldo Carvalho de Melo <[email protected]>," "Gustavo Niemeyer <[email protected]>" );
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
PATCH 1/1 convert wl3501_cs wireless driver to module_param
Replaces MODULE_PARM with module_param calls in wl3501 wireless driver.
net/wireless/wl3501_cs.c renamed from net/wireless/wl3501_cs.c.orig +3 -3
@@ -79,7 +79,7 @@#define PCMCIA_DEBUG 0#ifdef PCMCIA_DEBUG static int pc_debug =PCMCIA_DEBUG ; -MODULE_PARM (pc_debug,"i" ); +module_param (pc_debug, int,0644 ); #define dprintk(n, format, args...) \ { if (pc_debug > (n)) \ printk(KERN_INFO "%s: " format "\n", __FUNCTION__ , ##args); }
@@ -2279,8 +2279,8 @@ static void __exit wl3501_exit_module(vomodule_init (wl3501_init_module);module_exit (wl3501_exit_module); -MODULE_PARM (wl3501_irq_mask,"i" ); -MODULE_PARM (wl3501_irq_list,"1-4i" ); +module_param (wl3501_irq_mask, long,0 ); +module_param_array (wl3501_irq_list, int,NULL ,0 );MODULE_AUTHOR ("Fox Chen <[email protected]>, " "Arnaldo Carvalho de Melo <[email protected]>," "Gustavo Niemeyer <[email protected]>" );
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors