diff options
author | Zhu Yi <yi.zhu@intel.com> | 2006-03-05 16:48:37 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-03-17 15:08:03 -0500 |
commit | 3e1555bae145ab2d079a1823cbdd5c486503d147 (patch) | |
tree | 2c89fadf472483b76175b7bfc779ce56baed25ca /drivers | |
parent | 1d1b09eb144e414ade1f44e21852fc60f2cf965b (diff) |
[PATCH] ipw2200: export `debug' module param only if CONFIG_IPW2200_DEBUG
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 2 |
1 files changed, 2 insertions, 0 deletions
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)"); | |||
11185 | module_param(led, int, 0444); | 11185 | module_param(led, int, 0444); |
11186 | MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)\n"); | 11186 | MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)\n"); |
11187 | 11187 | ||
11188 | #ifdef CONFIG_IPW2200_DEBUG | ||
11188 | module_param(debug, int, 0444); | 11189 | module_param(debug, int, 0444); |
11189 | MODULE_PARM_DESC(debug, "debug output mask"); | 11190 | MODULE_PARM_DESC(debug, "debug output mask"); |
11191 | #endif | ||
11190 | 11192 | ||
11191 | module_param(channel, int, 0444); | 11193 | module_param(channel, int, 0444); |
11192 | MODULE_PARM_DESC(channel, "channel to limit associate to (default 0 [ANY])"); | 11194 | MODULE_PARM_DESC(channel, "channel to limit associate to (default 0 [ANY])"); |