From: Amadeusz Sławiński Date: Wed, 3 Apr 2024 09:31:38 +0000 (+0200) Subject: ASoC: Intel: avs: hdaudio: Constify probing_link X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a3c95efc432ddd18882cfab420cbea14937fb950;p=linux.git 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 Signed-off-by: Amadeusz Sławiński Link: https://msgid.link/r/20240403093145.3375857-4-amadeuszx.slawinski@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/avs/boards/hdaudio.c b/sound/soc/intel/avs/boards/hdaudio.c index 2de703b909c30..4433175814f80 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,