From: Amadeusz Sławiński Date: Wed, 3 Apr 2024 09:31:42 +0000 (+0200) Subject: ASoC: Intel: avs: rt286: Constify card_headset_pins X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=682bedc8b0bae52fc5fc95cb3dba6e3d590da653;p=linux.git ASoC: Intel: avs: rt286: 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-8-amadeuszx.slawinski@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/avs/boards/rt286.c b/sound/soc/intel/avs/boards/rt286.c index 28d7d86b1cc99..88cc30dc429cc 100644 --- a/sound/soc/intel/avs/boards/rt286.c +++ b/sound/soc/intel/avs/boards/rt286.c @@ -38,7 +38,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,