On Wed, Oct 06, 2021 at 12:39:45PM +0100, Srinivas Kandagatla wrote: > Now that all the code for audioreach and q6apm are in at this point to be > able to compile, start adding Kconfig and Makefile changes. This doesn't compile with current code for arm64 defconfig: /mnt/kernel/sound/soc/qcom/qdsp6/q6apm.c: In function 'q6apm_audio_remove': /mnt/kernel/sound/soc/qcom/qdsp6/q6apm.c:703:2: error: too few arguments to function 'snd_soc_tplg_component_remove' 703 | snd_soc_tplg_component_remove(component); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /mnt/kernel/include/sound/soc-dapm.h:15, from /mnt/kernel/include/sound/soc.h:386, from /mnt/kernel/sound/soc/qcom/qdsp6/q6apm.c:15: /mnt/kernel/include/sound/soc-topology.h:191:19: note: declared here 191 | static inline int snd_soc_tplg_component_remove(struct snd_soc_component *comp, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This will be with the stub for !SND_SOC_TOPOLOGY, the index argument has been removed for the actual implementation but not for the stub, the fix is in the header.
Attachment:
signature.asc
Description: PGP signature