[PATCH 2.6 IrDA] Debug module param

From: Jean Tourrilhes
Date: Tue Oct 19 2004 - 20:24:38 EST


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 <shemminger@xxxxxxxx>
Signed-off-by: Jean Tourrilhes <jt@xxxxxxxxxx>

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/