ASoC: Intel: avs: rt274: Constify card_headset_pins
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Wed, 3 Apr 2024 09:31:41 +0000 (11:31 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 3 Apr 2024 10:05:16 +0000 (11:05 +0100)
card_headset_pins is never modified, mark it const.

Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://msgid.link/r/20240403093145.3375857-7-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/boards/rt274.c

index bfcb8845fd15d06ec39d7360008ac60f73491d3b..4ddc86db43dc207b88a2448ab757df30f91643f9 100644 (file)
@@ -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,