Browse Source

[PATCH] ipw2200: fix compile warning when !CONFIG_IPW2200_DEBUG

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Zhu Yi 19 years ago
parent
commit
5dc81c3071
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/net/wireless/ipw2200.c

+ 2 - 0
drivers/net/wireless/ipw2200.c

@@ -46,7 +46,9 @@ 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;