ASoC: Intel: avs: rt274: 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-7-amadeuszx.slawinski@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
bf400f16a0
commit
130c953a75
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user