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>
This commit is contained in:
parent
2dbe7c8098
commit
bf400f16a0
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user