diff options
author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | 2024-04-03 12:31:39 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-03 13:05:14 +0300 |
commit | 2dbe7c809841e645a6b9d6d51801d3c594739d93 (patch) | |
tree | fba27e0fc9c66eddaa4ca3b4ff5ff77466bc4c8b /sound/soc/intel/avs/boards | |
parent | a3c95efc432ddd18882cfab420cbea14937fb950 (diff) | |
download | linux-2dbe7c809841e645a6b9d6d51801d3c594739d93.tar.xz |
ASoC: Intel: avs: es8336: 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-5-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/avs/boards')
-rw-r--r-- | sound/soc/intel/avs/boards/es8336.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/avs/boards/es8336.c b/sound/soc/intel/avs/boards/es8336.c index 1090082e7d5b..0171806094b4 100644 --- a/sound/soc/intel/avs/boards/es8336.c +++ b/sound/soc/intel/avs/boards/es8336.c @@ -85,7 +85,7 @@ static const struct snd_kcontrol_new card_controls[] = { SOC_DAPM_PIN_SWITCH("Internal Mic"), }; -static struct snd_soc_jack_pin card_headset_pins[] = { +static const struct snd_soc_jack_pin card_headset_pins[] = { { .pin = "Headphone", .mask = SND_JACK_HEADPHONE, |