From: Amadeusz Sławiński Date: Wed, 3 Apr 2024 09:31:41 +0000 (+0200) Subject: ASoC: Intel: avs: rt274: Constify card_headset_pins X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=130c953a75cc62dd5c73c295bae14197dce46b85;p=linux.git ASoC: Intel: avs: rt274: Constify card_headset_pins card_headset_pins is never modified, mark it const. Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński Link: https://msgid.link/r/20240403093145.3375857-7-amadeuszx.slawinski@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/avs/boards/rt274.c b/sound/soc/intel/avs/boards/rt274.c index bfcb8845fd15d..4ddc86db43dc2 100644 --- a/sound/soc/intel/avs/boards/rt274.c +++ b/sound/soc/intel/avs/boards/rt274.c @@ -75,7 +75,7 @@ static const struct snd_soc_dapm_route card_base_routes[] = { {"MIC", NULL, "Platform Clock"}, }; -static struct snd_soc_jack_pin card_headset_pins[] = { +static const struct snd_soc_jack_pin card_headset_pins[] = { { .pin = "Headphone Jack", .mask = SND_JACK_HEADPHONE,