Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: topology: Fix stub for snd_soc_tplg_component_remove()

When removing the index argument from snd_soc_topology_component_remove()
commit a5b8f71c5477f (ASoC: topology: Remove multistep topology loading)
forgot to update the stub for !SND_SOC_TOPOLOGY use, causing build failures
for anything that tries to make use of it.

Fixes: a5b8f71c5477f (ASoC: topology: Remove multistep topology loading)
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20211025154844.2342120-1-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>

+1 -2
+1 -2
include/sound/soc-topology.h
··· 188 188 189 189 #else 190 190 191 - static inline int snd_soc_tplg_component_remove(struct snd_soc_component *comp, 192 - u32 index) 191 + static inline int snd_soc_tplg_component_remove(struct snd_soc_component *comp) 193 192 { 194 193 return 0; 195 194 }