15 Jun
2018
15 Jun
'18
7:02 a.m.
On 6/14/2018 4:11 AM, Niklas Cassel wrote:
of_platform_device_destroy is only defined when building with CONFIG_OF=y. Add a depends on OF.
sound/soc/qcom/qdsp6/q6afe.o: In function `q6afe_remove': q6afe.c:(.text+0x363): undefined reference to `of_platform_device_destroy' sound/soc/qcom/qdsp6/q6adm.o: In function `q6adm_remove': q6adm.c:(.text+0x216): undefined reference to `of_platform_device_destroy' sound/soc/qcom/qdsp6/q6asm.o: In function `q6asm_remove': q6asm.c:(.text+0x723): undefined reference to `of_platform_device_destroy'
Signed-off-by: Niklas Cassel niklas.cassel@linaro.org
Acked-by: Banajit Goswami bgoswami@codeaurora.org
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project