]> git.neil.brown.name Git - history.git/commitdiff
[IRDA]: Debug module param
authorJean Tourrilhes <jt@bougret.hpl.hp.com>
Thu, 21 Oct 2004 15:16:53 +0000 (08:16 -0700)
committerDavid S. Miller <davem@nuts.davemloft.net>
Thu, 21 Oct 2004 15:16:53 +0000 (08:16 -0700)
<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@osdl.org>
Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/irmod.c

index a81e0af1851f0ae0d808cfc16bcf75b4d7def089..7ecc67c0a9ae03098aad38fb93903cdd7c9d5a74 100644 (file)
@@ -62,7 +62,7 @@ extern int  irlap_driver_rcv(struct sk_buff *, struct net_device *,
 #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