mirror of
https://github.com/torvalds/linux
synced 2024-09-06 18:01:05 +00:00
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>
This commit is contained in:
parent
a055674868
commit
5faf65b5d1
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue