diff options
author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | 2024-04-03 11:31:45 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-03 12:05:19 +0200 |
commit | 5faf65b5d1e36ec0a1eb3ba8ba2a8b7a779575ce (patch) | |
tree | 5b035d5a51aab0ec90e6bb6e72cacb4dffe1a4e9 /sound/soc/intel/avs | |
parent | ASoC: Intel: avs: rt5663: Constify card_headset_pins (diff) | |
download | linux-5faf65b5d1e36ec0a1eb3ba8ba2a8b7a779575ce.tar.xz linux-5faf65b5d1e36ec0a1eb3ba8ba2a8b7a779575ce.zip |
ASoC: Intel: avs: rt5682: 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-11-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/avs')
-rw-r--r-- | sound/soc/intel/avs/boards/rt5682.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/avs/boards/rt5682.c b/sound/soc/intel/avs/boards/rt5682.c index 243f979fda98..a672578aa4d6 100644 --- a/sound/soc/intel/avs/boards/rt5682.c +++ b/sound/soc/intel/avs/boards/rt5682.c @@ -80,7 +80,7 @@ static const struct snd_soc_dapm_route card_base_routes[] = { { "IN1P", NULL, "Headset Mic" }, }; -static struct snd_soc_jack_pin card_jack_pins[] = { +static const struct snd_soc_jack_pin card_jack_pins[] = { { .pin = "Headphone Jack", .mask = SND_JACK_HEADPHONE, |