iwlwifi: fix compile error when CONFIG_MAC80211_DEBUGFS is not selected
authorZhu Yi <yi.zhu@intel.com>
Mon, 5 May 2008 02:22:46 +0000 (10:22 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 May 2008 01:19:43 +0000 (21:19 -0400)
Make iwl4965_lq_sta->drv available even without CONFIG_MAC80211_DEBUGFS.

Signed-off-by: Yi Zhu <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-4965-rs.c

index b608e1ca8b4062fdd101a7c56d2868bcce7cd9a6..c9847b1a67f7d9ee5c58abfcc4f391167da890ff 100644 (file)
@@ -163,8 +163,8 @@ struct iwl4965_lq_sta {
        struct dentry *rs_sta_dbgfs_tx_agg_tid_en_file;
 #endif
        struct iwl4965_rate dbg_fixed;
-       struct iwl_priv *drv;
 #endif
+       struct iwl_priv *drv;
 };
 
 static void rs_rate_scale_perform(struct iwl_priv *priv,