Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ec855cc authored by Julia Lawall's avatar Julia Lawall Committed by Kalle Valo
Browse files

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: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Acked-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 00ce3a15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */