diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-03-06 16:30:56 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-07 13:56:32 -0500 |
commit | 6794f3ee1dc4a2f7ebed99a4c075f00bbebbcfdc (patch) | |
tree | 90814b7afc0b9b116b1d390c4aa3326d123aacd9 /drivers/net/wireless/iwlwifi/iwl-5000.c | |
parent | b9ad70da6a7ed166539b188a95e0aef119555e14 (diff) |
iwlwifi: constify remaining config data
The HW configuration settings base_params, ht_params
and bt_params all should be const, make it so.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index fc6ec07de87..821ed3a36e5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -310,7 +310,7 @@ static struct iwl_lib_ops iwl5150_lib = { | |||
310 | .temperature = iwl5150_temperature, | 310 | .temperature = iwl5150_temperature, |
311 | }; | 311 | }; |
312 | 312 | ||
313 | static struct iwl_base_params iwl5000_base_params = { | 313 | static const struct iwl_base_params iwl5000_base_params = { |
314 | .eeprom_size = IWLAGN_EEPROM_IMG_SIZE, | 314 | .eeprom_size = IWLAGN_EEPROM_IMG_SIZE, |
315 | .num_of_queues = IWLAGN_NUM_QUEUES, | 315 | .num_of_queues = IWLAGN_NUM_QUEUES, |
316 | .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES, | 316 | .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES, |
@@ -323,7 +323,8 @@ static struct iwl_base_params iwl5000_base_params = { | |||
323 | .no_idle_support = true, | 323 | .no_idle_support = true, |
324 | .wd_disable = true, | 324 | .wd_disable = true, |
325 | }; | 325 | }; |
326 | static struct iwl_ht_params iwl5000_ht_params = { | 326 | |
327 | static const struct iwl_ht_params iwl5000_ht_params = { | ||
327 | .ht_greenfield_support = true, | 328 | .ht_greenfield_support = true, |
328 | }; | 329 | }; |
329 | 330 | ||