diff options
author | 2024-04-03 11:31:38 +0200 | |
---|---|---|
committer | 2024-04-03 11:05:13 +0100 | |
commit | a3c95efc432ddd18882cfab420cbea14937fb950 (patch) | |
tree | 77384adedb19713ecb06785d77d8cbb57527893c | |
parent | ASoC: Intel: avs: Use devm_kstrdup_const (diff) | |
download | wireguard-linux-a3c95efc432ddd18882cfab420cbea14937fb950.tar.xz wireguard-linux-a3c95efc432ddd18882cfab420cbea14937fb950.zip |
ASoC: Intel: avs: hdaudio: Constify probing_link
probing_link is passed to devm_kmemdup, and is never modified, may as
well 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-4-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/avs/boards/hdaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/avs/boards/hdaudio.c b/sound/soc/intel/avs/boards/hdaudio.c index 2de703b909c3..4433175814f8 100644 --- a/sound/soc/intel/avs/boards/hdaudio.c +++ b/sound/soc/intel/avs/boards/hdaudio.c @@ -155,7 +155,7 @@ static int avs_probing_link_init(struct snd_soc_pcm_runtime *rtm) return 0; } -static struct snd_soc_dai_link probing_link = { +static const struct snd_soc_dai_link probing_link = { .name = "probing-LINK", .id = -1, .nonatomic = 1, |