diff options
author | 2024-04-03 11:31:43 +0200 | |
---|---|---|
committer | 2024-04-03 11:05:18 +0100 | |
commit | 33a886eee711298e799f1f52432e2f5e234cd015 (patch) | |
tree | adc65e2a708eca6766f878e99c065d9a122f1be9 | |
parent | ASoC: Intel: avs: rt286: Constify card_headset_pins (diff) | |
download | wireguard-linux-33a886eee711298e799f1f52432e2f5e234cd015.tar.xz wireguard-linux-33a886eee711298e799f1f52432e2f5e234cd015.zip |
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>
-rw-r--r-- | sound/soc/intel/avs/boards/rt298.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/avs/boards/rt298.c b/sound/soc/intel/avs/boards/rt298.c index 80f490b9e118..99ec84920433 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, |