diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-01-20 23:38:59 +0100 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-02-13 09:18:43 +0100 |
commit | e5209263df94a41090199c95b21939139760fd85 (patch) | |
tree | 8c2fac21f2bddd812700378770f79ce53babf382 /drivers/net/wireless/iwlwifi/iwl-trans.h | |
parent | iwlwifi: pcie: clean iwl_pcie_[rt]xq_inc_wr_ptr a bit (diff) | |
download | linux-e5209263df94a41090199c95b21939139760fd85.tar.xz 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/iwl-trans.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h index 7b19274b550f..8cdb0dd618a6 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans.h +++ b/drivers/net/wireless/iwlwifi/iwl-trans.h @@ -393,7 +393,7 @@ struct iwl_trans_config { bool rx_buf_size_8k; bool bc_table_dword; unsigned int queue_watchdog_timeout; - const char **command_names; + const char *const *command_names; }; struct iwl_trans; |