diff options
author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | 2024-04-03 11:31:42 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-03 12:05:17 +0200 |
commit | 682bedc8b0bae52fc5fc95cb3dba6e3d590da653 (patch) | |
tree | 106243a05475dad614acf858ca7db73d975d8671 /sound/soc/intel/avs | |
parent | ASoC: Intel: avs: rt274: Constify card_headset_pins (diff) | |
download | linux-682bedc8b0bae52fc5fc95cb3dba6e3d590da653.tar.xz linux-682bedc8b0bae52fc5fc95cb3dba6e3d590da653.zip |
ASoC: Intel: avs: rt286: 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-8-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/avs')
-rw-r--r-- | sound/soc/intel/avs/boards/rt286.c | 2 |
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, |