mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 22:23:55 +00:00
[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>
This commit is contained in:
parent
8b5f9171f6
commit
efa7e0691f
@ -83,9 +83,7 @@ MODULE_AUTHOR(DRV_COPYRIGHT);
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
static int cmdlog = 0;
|
||||
#ifdef CONFIG_IPW2200_DEBUG
|
||||
static int debug = 0;
|
||||
#endif
|
||||
static int channel = 0;
|
||||
static int mode = 0;
|
||||
|
||||
@ -11824,10 +11822,8 @@ 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])");
|
||||
|
Loading…
Reference in New Issue
Block a user