diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2016-11-18 11:15:06 -0500 |
|---|---|---|
| committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-11-18 12:03:43 -0500 |
| commit | c496f6762b9a68de6635e753f7837523ee642fcb (patch) | |
| tree | 093c3b64ef07fc69acaa52faa4c3b499517d1567 /drivers/remoteproc | |
| parent | 1a494c20d14c725747eb8f039196447e2c366ab6 (diff) | |
remoteproc: wcnss-pil: add QCOM_SMD dependency
When qcom_smd is a loadable module and wcnss-pil is built-in,
we get a link error:
drivers/remoteproc/qcom_wcnss_pil.o: In function `wcnss_smd_remove':
qcom_wcnss_iris.c:(.text.wcnss_smd_remove+0x10): undefined reference to `qcom_smd_unregister_edge'
drivers/remoteproc/qcom_wcnss_pil.o: In function `wcnss_smd_probe':
qcom_wcnss_iris.c:(.text.wcnss_smd_probe+0x12): undefined reference to `qcom_smd_register_edge'
This adds a Kconfig dependency to avoid this. We can still allow
build-testing with SMD disabled.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc')
| -rw-r--r-- | drivers/remoteproc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index 5a0019ce7555..51d7ca0e10fc 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig | |||
| @@ -106,6 +106,7 @@ config QCOM_Q6V5_PIL | |||
| 106 | config QCOM_WCNSS_PIL | 106 | config QCOM_WCNSS_PIL |
| 107 | tristate "Qualcomm WCNSS Peripheral Image Loader" | 107 | tristate "Qualcomm WCNSS Peripheral Image Loader" |
| 108 | depends on OF && ARCH_QCOM | 108 | depends on OF && ARCH_QCOM |
| 109 | depends on QCOM_SMD || (COMPILE_TEST && QCOM_SMD=n) | ||
| 109 | depends on QCOM_SMEM | 110 | depends on QCOM_SMEM |
| 110 | depends on REMOTEPROC | 111 | depends on REMOTEPROC |
| 111 | select QCOM_MDT_LOADER | 112 | select QCOM_MDT_LOADER |
