diff options
author | Mark Brown <broonie@kernel.org> | 2021-10-25 16:48:44 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-25 17:41:26 +0100 |
commit | 1198ff12cbdd5f42c032cba1d96ebc7af8024cf9 (patch) | |
tree | c8178e12508cff22636283f42522241931e742fe /include/sound | |
parent | 4b29d5a0bdb9c0d52356dd04b4c08180e0c8aa71 (diff) |
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>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc-topology.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sound/soc-topology.h b/include/sound/soc-topology.h index 7f33de8ffd95..b4b896f83b94 100644 --- a/include/sound/soc-topology.h +++ b/include/sound/soc-topology.h @@ -188,8 +188,7 @@ int snd_soc_tplg_widget_bind_event(struct snd_soc_dapm_widget *w, #else -static inline int snd_soc_tplg_component_remove(struct snd_soc_component *comp, - u32 index) +static inline int snd_soc_tplg_component_remove(struct snd_soc_component *comp) { return 0; } |