irXXX_debug_mod_parm.diff :
~~~~~~~~~~~~~~~~~~~~~~~~~
<Patch from Stephen Hemminger>
o [CORRECT] irda 2.6 - fix module info
The module parameter info for irda is incorrect.
The debug parameter is named "debug", the variable is irda_debug.
Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: Jean Tourrilhes <[email protected]>
diff -Nru a/net/irda/irmod.c b/net/irda/irmod.c
--- a/net/irda/irmod.c 2004-10-08 10:48:24 -07:00
+++ b/net/irda/irmod.c 2004-10-08 10:48:24 -07:00
@@ -62,7 +62,7 @@
#ifdef CONFIG_IRDA_DEBUG
unsigned int irda_debug = IRDA_DEBUG_LEVEL;
module_param_named(debug, irda_debug, uint, 0);
-MODULE_PARM_DESC(irda_debug, "IRDA debugging level");
+MODULE_PARM_DESC(debug, "IRDA debugging level");
EXPORT_SYMBOL(irda_debug);
#endif