From: Amadeusz Sławiński Date: Wed, 3 Apr 2024 09:31:43 +0000 (+0200) Subject: ASoC: Intel: avs: rt298: Constify card_headset_pins X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=33a886eee711298e799f1f52432e2f5e234cd015;p=linux.git ASoC: Intel: avs: rt298: Constify card_headset_pins card_headset_pins is never modified, mark it const. Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński Link: https://msgid.link/r/20240403093145.3375857-9-amadeuszx.slawinski@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/avs/boards/rt298.c b/sound/soc/intel/avs/boards/rt298.c index 80f490b9e1184..99ec84920433a 100644 --- a/sound/soc/intel/avs/boards/rt298.c +++ b/sound/soc/intel/avs/boards/rt298.c @@ -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,