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>
This commit is contained in:
parent
68a71af3ae
commit
a3c95efc43
@ -155,7 +155,7 @@ static int avs_probing_link_init(struct snd_soc_pcm_runtime *rtm)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct snd_soc_dai_link probing_link = {
|
static const struct snd_soc_dai_link probing_link = {
|
||||||
.name = "probing-LINK",
|
.name = "probing-LINK",
|
||||||
.id = -1,
|
.id = -1,
|
||||||
.nonatomic = 1,
|
.nonatomic = 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user