Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e1555ba authored by Zhu Yi's avatar Zhu Yi Committed by John W. Linville
Browse files

[PATCH] ipw2200: export `debug' module param only if CONFIG_IPW2200_DEBUG

parent 1d1b09eb
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -11185,8 +11185,10 @@ MODULE_PARM_DESC(auto_create, "auto create adhoc network (default on)");
module_param(led, int, 0444);
module_param(led, int, 0444);
MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)\n");
MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)\n");


#ifdef CONFIG_IPW2200_DEBUG
module_param(debug, int, 0444);
module_param(debug, int, 0444);
MODULE_PARM_DESC(debug, "debug output mask");
MODULE_PARM_DESC(debug, "debug output mask");
#endif


module_param(channel, int, 0444);
module_param(channel, int, 0444);
MODULE_PARM_DESC(channel, "channel to limit associate to (default 0 [ANY])");
MODULE_PARM_DESC(channel, "channel to limit associate to (default 0 [ANY])");