diff options
author | Zhu Yi <yi.zhu@intel.com> | 2006-08-22 05:11:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-08-29 17:06:34 -0400 |
commit | efa7e0691f476bfe39d83bf367dfd9c4fa05b43f (patch) | |
tree | cbbee0724812d54fec0c9b4b0f0fdc04cd0527d2 /drivers/net/wireless/ipw2200.c | |
parent | 8b5f9171f66ce5049d306cd65010ef6cb290f18d (diff) |
[PATCH] ipw2200: Fix compile error when CONFIG_IPW2200_DEBUG is not selected
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2200.c')
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 750c25da8c27..fa245f126c84 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -83,9 +83,7 @@ MODULE_AUTHOR(DRV_COPYRIGHT); | |||
83 | MODULE_LICENSE("GPL"); | 83 | MODULE_LICENSE("GPL"); |
84 | 84 | ||
85 | static int cmdlog = 0; | 85 | static int cmdlog = 0; |
86 | #ifdef CONFIG_IPW2200_DEBUG | ||
87 | static int debug = 0; | 86 | static int debug = 0; |
88 | #endif | ||
89 | static int channel = 0; | 87 | static int channel = 0; |
90 | static int mode = 0; | 88 | static int mode = 0; |
91 | 89 | ||
@@ -11824,10 +11822,8 @@ MODULE_PARM_DESC(auto_create, "auto create adhoc network (default on)"); | |||
11824 | module_param(led, int, 0444); | 11822 | module_param(led, int, 0444); |
11825 | MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)\n"); | 11823 | MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)\n"); |
11826 | 11824 | ||
11827 | #ifdef CONFIG_IPW2200_DEBUG | ||
11828 | module_param(debug, int, 0444); | 11825 | module_param(debug, int, 0444); |
11829 | MODULE_PARM_DESC(debug, "debug output mask"); | 11826 | MODULE_PARM_DESC(debug, "debug output mask"); |
11830 | #endif | ||
11831 | 11827 | ||
11832 | module_param(channel, int, 0444); | 11828 | module_param(channel, int, 0444); |
11833 | MODULE_PARM_DESC(channel, "channel to limit associate to (default 0 [ANY])"); | 11829 | MODULE_PARM_DESC(channel, "channel to limit associate to (default 0 [ANY])"); |