summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authorJohannes Berg2014-01-20 23:38:59 +0100
committerEmmanuel Grumbach2014-02-13 09:18:43 +0100
commite5209263df94a41090199c95b21939139760fd85 (patch)
tree8c2fac21f2bddd812700378770f79ce53babf382 /drivers/net/wireless/iwlwifi/mvm/mvm.h
parentiwlwifi: pcie: clean iwl_pcie_[rt]xq_inc_wr_ptr a bit (diff)
downloadkernel-qcow2-linux-e5209263df94a41090199c95b21939139760fd85.tar.gz
kernel-qcow2-linux-e5209263df94a41090199c95b21939139760fd85.tar.xz
kernel-qcow2-linux-e5209263df94a41090199c95b21939139760fd85.zip
iwlwifi: make various things const
There are a number of things in the .data section that should really be in .rodata, for example all ops structs and strings. Mark everything const that can be, leaving the .data section pretty much empty. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mvm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h
index ebea5f2e2741..bde8190bb6c4 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h
@@ -91,8 +91,7 @@ enum iwl_mvm_tx_fifo {
IWL_MVM_TX_FIFO_MCAST = 5,
};
-extern struct ieee80211_ops iwl_mvm_hw_ops;
-extern const struct iwl_mvm_power_ops pm_mac_ops;
+extern const struct ieee80211_ops iwl_mvm_hw_ops;
/**
* struct iwl_mvm_mod_params - module parameters for iwlmvm