diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/dvm')
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/agn.h | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/devices.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/mac80211.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/rx.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/agn.h b/drivers/net/wireless/iwlwifi/dvm/agn.h index 562772d85102..c160dad03037 100644 --- a/drivers/net/wireless/iwlwifi/dvm/agn.h +++ b/drivers/net/wireless/iwlwifi/dvm/agn.h | |||
@@ -109,7 +109,7 @@ extern const struct iwl_dvm_cfg iwl_dvm_6030_cfg; | |||
109 | 109 | ||
110 | struct iwl_ucode_capabilities; | 110 | struct iwl_ucode_capabilities; |
111 | 111 | ||
112 | extern struct ieee80211_ops iwlagn_hw_ops; | 112 | extern const struct ieee80211_ops iwlagn_hw_ops; |
113 | 113 | ||
114 | static inline void iwl_set_calib_hdr(struct iwl_calib_hdr *hdr, u8 cmd) | 114 | static inline void iwl_set_calib_hdr(struct iwl_calib_hdr *hdr, u8 cmd) |
115 | { | 115 | { |
@@ -480,7 +480,7 @@ do { \ | |||
480 | } while (0) | 480 | } while (0) |
481 | #endif /* CONFIG_IWLWIFI_DEBUG */ | 481 | #endif /* CONFIG_IWLWIFI_DEBUG */ |
482 | 482 | ||
483 | extern const char *iwl_dvm_cmd_strings[REPLY_MAX]; | 483 | extern const char *const iwl_dvm_cmd_strings[REPLY_MAX]; |
484 | 484 | ||
485 | static inline const char *iwl_dvm_get_cmd_string(u8 cmd) | 485 | static inline const char *iwl_dvm_get_cmd_string(u8 cmd) |
486 | { | 486 | { |
diff --git a/drivers/net/wireless/iwlwifi/dvm/devices.c b/drivers/net/wireless/iwlwifi/dvm/devices.c index 7b140e487deb..758c54eeb206 100644 --- a/drivers/net/wireless/iwlwifi/dvm/devices.c +++ b/drivers/net/wireless/iwlwifi/dvm/devices.c | |||
@@ -317,7 +317,7 @@ static const struct iwl_sensitivity_ranges iwl5000_sensitivity = { | |||
317 | .nrg_th_cca = 62, | 317 | .nrg_th_cca = 62, |
318 | }; | 318 | }; |
319 | 319 | ||
320 | static struct iwl_sensitivity_ranges iwl5150_sensitivity = { | 320 | static const struct iwl_sensitivity_ranges iwl5150_sensitivity = { |
321 | .min_nrg_cck = 95, | 321 | .min_nrg_cck = 95, |
322 | .auto_corr_min_ofdm = 90, | 322 | .auto_corr_min_ofdm = 90, |
323 | .auto_corr_min_ofdm_mrc = 170, | 323 | .auto_corr_min_ofdm_mrc = 170, |
diff --git a/drivers/net/wireless/iwlwifi/dvm/mac80211.c b/drivers/net/wireless/iwlwifi/dvm/mac80211.c index 73086c1629ca..dd55c9cf7ba8 100644 --- a/drivers/net/wireless/iwlwifi/dvm/mac80211.c +++ b/drivers/net/wireless/iwlwifi/dvm/mac80211.c | |||
@@ -1582,7 +1582,7 @@ static void iwlagn_mac_sta_notify(struct ieee80211_hw *hw, | |||
1582 | IWL_DEBUG_MAC80211(priv, "leave\n"); | 1582 | IWL_DEBUG_MAC80211(priv, "leave\n"); |
1583 | } | 1583 | } |
1584 | 1584 | ||
1585 | struct ieee80211_ops iwlagn_hw_ops = { | 1585 | const struct ieee80211_ops iwlagn_hw_ops = { |
1586 | .tx = iwlagn_mac_tx, | 1586 | .tx = iwlagn_mac_tx, |
1587 | .start = iwlagn_mac_start, | 1587 | .start = iwlagn_mac_start, |
1588 | .stop = iwlagn_mac_stop, | 1588 | .stop = iwlagn_mac_stop, |
diff --git a/drivers/net/wireless/iwlwifi/dvm/rx.c b/drivers/net/wireless/iwlwifi/dvm/rx.c index 7a1bc1c547e1..cd8377346aff 100644 --- a/drivers/net/wireless/iwlwifi/dvm/rx.c +++ b/drivers/net/wireless/iwlwifi/dvm/rx.c | |||
@@ -39,7 +39,7 @@ | |||
39 | 39 | ||
40 | #define IWL_CMD_ENTRY(x) [x] = #x | 40 | #define IWL_CMD_ENTRY(x) [x] = #x |
41 | 41 | ||
42 | const char *iwl_dvm_cmd_strings[REPLY_MAX] = { | 42 | const char *const iwl_dvm_cmd_strings[REPLY_MAX] = { |
43 | IWL_CMD_ENTRY(REPLY_ALIVE), | 43 | IWL_CMD_ENTRY(REPLY_ALIVE), |
44 | IWL_CMD_ENTRY(REPLY_ERROR), | 44 | IWL_CMD_ENTRY(REPLY_ERROR), |
45 | IWL_CMD_ENTRY(REPLY_ECHO), | 45 | IWL_CMD_ENTRY(REPLY_ECHO), |