remoteproc: qcom: fix glink dependencies
Building the remoteproc drivers into the kernel while the qcom_glink code is in a loadable module results in a link error: ld.lld: error: undefined symbol: qcom_glink_ssr_notify >>> referenced by vmlinux.o:(glink_subdev_unprepare) Add a Kconfig dependency to avoid this. Reviewed-by:Alex Elder <elder@linaro.org> Fixes: 8527efc5 ("rpmsg: glink: Guard qcom_glink_ssr_notify() with correct config") Fixes: 5d1f2e3c ("soc: qcom: glink_ssr: Internalize ssr_notifiers") Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20210204154010.1585457-1-arnd@kernel.org Signed-off-by:
Bjorn Andersson <bjorn.andersson@linaro.org>
Loading
Please register or sign in to comment