aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Sławiński <[email protected]>2024-04-03 11:31:42 +0200
committerMark Brown <[email protected]>2024-04-03 11:05:17 +0100
commit682bedc8b0bae52fc5fc95cb3dba6e3d590da653 (patch)
tree106243a05475dad614acf858ca7db73d975d8671
parent130c953a75cc62dd5c73c295bae14197dce46b85 (diff)
ASoC: Intel: avs: rt286: Constify card_headset_pins
card_headset_pins is never modified, mark it const. Reviewed-by: Cezary Rojewski <[email protected]> Signed-off-by: Amadeusz Sławiński <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/intel/avs/boards/rt286.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/avs/boards/rt286.c b/sound/soc/intel/avs/boards/rt286.c
index 28d7d86b1cc9..88cc30dc429c 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,