From: Zhu Yi Date: Sun, 5 Mar 2006 21:48:37 +0000 (+0800) Subject: [PATCH] ipw2200: export `debug' module param only if CONFIG_IPW2200_DEBUG X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e1555bae145ab2d079a1823cbdd5c486503d147;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] ipw2200: export `debug' module param only if CONFIG_IPW2200_DEBUG Signed-off-by: Zhu Yi Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index d12ef04fb4be..a56a77e8f32b 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c @@ -11185,8 +11185,10 @@ MODULE_PARM_DESC(auto_create, "auto create adhoc network (default on)"); module_param(led, int, 0444); MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)\n"); +#ifdef CONFIG_IPW2200_DEBUG module_param(debug, int, 0444); MODULE_PARM_DESC(debug, "debug output mask"); +#endif module_param(channel, int, 0444); MODULE_PARM_DESC(channel, "channel to limit associate to (default 0 [ANY])");