Skip to contentSkip to conversation

Cleanup MODULE_PARM in mac89x0.c

PATCH New Eric Sesterhenn / snakebyte 1 participant 1 message Jan 6, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 5/9 Cleanup MODULE_PARM in mac89x0.c

hi,

this patch changes MODULE_PARM usage to
module_param

drivers/net/mac89x0.c renamed from drivers/net/mac89x0.c.orig +1 -1
@@ -629,7 +629,7 @@ static int set_mac_address(struct net_de
 static struct net_device *dev_cs89x0;
 static int debug;
 
-MODULE_PARM(debug, "i");
+module_param(debug, int, 0644);
 MODULE_PARM_DESC(debug, "CS89[02]0 debug level (0-5)");
 MODULE_LICENSE("GPL");
 

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors