ASoC: Intel: avs: nau8825: Constify card_headset_pins
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Wed, 3 Apr 2024 09:31:40 +0000 (11:31 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 3 Apr 2024 10:05:15 +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-6-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/boards/nau8825.c

index 1c1e2083f474df122259c41f774e246dd7223a1f..cd9e6a6f92122b8d0766b4bbcf52a84ac1c66baf 100644 (file)
@@ -67,7 +67,7 @@ static const struct snd_soc_dapm_route card_base_routes[] = {
        { "Headset 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,