Skip to contentSkip to conversation

Cleanup MODULE_PARM in atari_bionet.c

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

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

PATCH 1/9 Cleanup MODULE_PARM in atari_bionet.c

hi,

this patch changes MODULE_PARM usage to
module_param

drivers/net/atari_bionet.c renamed from drivers/net/atari_bionet.c.orig +1 -1
@@ -123,7 +123,7 @@ static char version[] =
  * Global variable 'bionet_debug'. Can be set at load time by 'insmod'
  */
 unsigned int bionet_debug = NET_DEBUG;
-MODULE_PARM(bionet_debug, "i");
+module_param(bionet_debug, int, 0644);
 MODULE_PARM_DESC(bionet_debug, "bionet debug level (0-2)");
 MODULE_LICENSE("GPL");
 

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