summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>2024-04-03 11:31:40 +0200
committerMark Brown <broonie@kernel.org>2024-04-03 11:05:15 +0100
commitbf400f16a03788ccdb1de1d9bfe9458082f24ef7 (patch)
tree9f620544002cd959ee2d7e21fa4bd385bb9415df
parent2dbe7c809841e645a6b9d6d51801d3c594739d93 (diff)
downloadlwn-bf400f16a03788ccdb1de1d9bfe9458082f24ef7.tar.gz
lwn-bf400f16a03788ccdb1de1d9bfe9458082f24ef7.zip
ASoC: Intel: avs: nau8825: Constify card_headset_pins
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>
-rw-r--r--sound/soc/intel/avs/boards/nau8825.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/avs/boards/nau8825.c b/sound/soc/intel/avs/boards/nau8825.c
index 1c1e2083f474..cd9e6a6f9212 100644
--- a/sound/soc/intel/avs/boards/nau8825.c
+++ b/sound/soc/intel/avs/boards/nau8825.c
@@ -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,