Skip to contentSkip to conversation

Cleanup MODULE_PARM in atarilance.c

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

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

PATCH 2/9 Cleanup MODULE_PARM in atarilance.c

hi,

this patch changes MODULE_PARM usage to
module_param

drivers/net/atarilance.c renamed from drivers/net/atarilance.c.orig +1 -1
@@ -78,7 +78,7 @@ static int lance_debug = LANCE_DEBUG;
 #else
 static int lance_debug = 1;
 #endif
-MODULE_PARM(lance_debug, "i");
+module_param(lance_debug, int, 0644);
 MODULE_PARM_DESC(lance_debug, "atarilance debug level (0-3)");
 MODULE_LICENSE("GPL");
 

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