diff options
author | Amadeusz Sławiński <[email protected]> | 2024-04-03 11:31:45 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-04-03 11:05:19 +0100 |
commit | 5faf65b5d1e36ec0a1eb3ba8ba2a8b7a779575ce (patch) | |
tree | 5b035d5a51aab0ec90e6bb6e72cacb4dffe1a4e9 | |
parent | a055674868fa9d36f290dba906a76dd45801a37e (diff) |
ASoC: Intel: avs: rt5682: 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/rt5682.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/avs/boards/rt5682.c b/sound/soc/intel/avs/boards/rt5682.c index 243f979fda98..a672578aa4d6 100644 --- a/sound/soc/intel/avs/boards/rt5682.c +++ b/sound/soc/intel/avs/boards/rt5682.c @@ -80,7 +80,7 @@ static const struct snd_soc_dapm_route card_base_routes[] = { { "IN1P", NULL, "Headset Mic" }, }; -static struct snd_soc_jack_pin card_jack_pins[] = { +static const struct snd_soc_jack_pin card_jack_pins[] = { { .pin = "Headphone Jack", .mask = SND_JACK_HEADPHONE, |