ASoC: Intel: avs: rt298: 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-9-amadeuszx.slawinski@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
682bedc8b0
commit
33a886eee7
@ -49,7 +49,7 @@ static const struct snd_soc_dapm_route card_base_routes[] = {
|
||||
{"Speaker", NULL, "SPOL"},
|
||||
};
|
||||
|
||||
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…
Reference in New Issue
Block a user