[PATCH] ipw2200: fix compile warning when !CONFIG_IPW2200_DEBUG
authorZhu Yi <yi.zhu@intel.com>
Thu, 13 Apr 2006 09:19:44 +0000 (17:19 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Apr 2006 20:15:55 +0000 (16:15 -0400)
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2200.c

index 297dd76177cce53aaea1baa4cfcb0538bf83e50c..85de9a646f0e07a99641ef1f75836b30b1092eb7 100644 (file)
@@ -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;