diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-12-30 12:20:49 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-01-07 10:09:58 +0100 |
commit | 9ec855cc9e17fe111e1f868027a75ac7ae849997 (patch) | |
tree | f096a8ea0f8f39e466de2d137bba45677e36a9ab | |
parent | soreuseport: change consume_skb to kfree_skb in error case (diff) | |
download | linux-9ec855cc9e17fe111e1f868027a75ac7ae849997.tar.xz linux-9ec855cc9e17fe111e1f868027a75ac7ae849997.zip |
iwlegacy: 4965-mac: constify il_sensitivity_ranges structure
The il_sensitivity_ranges is never modified, so declare it as const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r-- | drivers/net/wireless/intel/iwlegacy/4965-mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlegacy/4965-mac.c b/drivers/net/wireless/intel/iwlegacy/4965-mac.c index 6656215a13a9..fd38aa0763e4 100644 --- a/drivers/net/wireless/intel/iwlegacy/4965-mac.c +++ b/drivers/net/wireless/intel/iwlegacy/4965-mac.c @@ -6416,7 +6416,7 @@ il4965_hw_detect(struct il_priv *il) D_INFO("HW Revision ID = 0x%X\n", il->rev_id); } -static struct il_sensitivity_ranges il4965_sensitivity = { +static const struct il_sensitivity_ranges il4965_sensitivity = { .min_nrg_cck = 97, .max_nrg_cck = 0, /* not used, set to 0 */ |