mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 06:07:22 +07:00
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>
This commit is contained in:
parent
00ce3a15d8
commit
9ec855cc9e
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user