]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: qcom_adsp_pil: select qcom_scm
authorArnd Bergmann <arnd@arndb.de>
Fri, 9 Dec 2016 11:47:02 +0000 (12:47 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 10 Dec 2016 00:16:56 +0000 (16:16 -0800)
commit2de794396f554db41c08fcbfcfea4c6a62c7989e
treea1c191f49320a79d0585735e115a7c4695a5800a
parente4425940c07000feea4483ff12a9185e3e711c8a
remoteproc: qcom_adsp_pil: select qcom_scm

The adsp-pil driver relies on SCM and causes a build error without it:

ERROR: "qcom_scm_pas_supported" [drivers/remoteproc/qcom_adsp_pil.ko] undefined!
ERROR: "qcom_scm_is_available" [drivers/remoteproc/qcom_adsp_pil.ko] undefined!
ERROR: "qcom_scm_pas_auth_and_reset" [drivers/remoteproc/qcom_adsp_pil.ko] undefined!
ERROR: "qcom_scm_pas_shutdown" [drivers/remoteproc/qcom_adsp_pil.ko] undefined!
ERROR: "qcom_scm_pas_mem_setup" [drivers/remoteproc/qcom_adsp_pil.ko] undefined!
ERROR: "qcom_scm_pas_init_image" [drivers/remoteproc/qcom_adsp_pil.ko] undefined!

This adds a 'select', as SCM is a silent Kconfig symbol that gets
enabled implicitly by all its users.

Fixes: 022a96144a3e ("remoteproc: Introduce Qualcomm ADSP PIL")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/Kconfig