]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: ipa: add an interconnect dependency
authorAlex Elder <elder@linaro.org>
Tue, 1 Mar 2022 11:34:40 +0000 (05:34 -0600)
committerJakub Kicinski <kuba@kernel.org>
Thu, 3 Mar 2022 06:14:05 +0000 (22:14 -0800)
In order to function, the IPA driver very clearly requires the
interconnect framework to be enabled in the kernel configuration.
State that dependency in the Kconfig file.

This became a problem when CONFIG_COMPILE_TEST support was added.
Non-Qualcomm platforms won't necessarily enable CONFIG_INTERCONNECT.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 3ce3d6ab0dc8f ("net: ipa: support COMPILE_TEST")
Signed-off-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20220301113440.257916-1-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/Kconfig

index e0164a55c1e66c893014f834cd4a3a1d0a21401f..6782c2cbf542fa683f48fa80ab5ffedd7cb52fe1 100644 (file)
@@ -2,6 +2,7 @@ config QCOM_IPA
        tristate "Qualcomm IPA support"
        depends on NET && QCOM_SMEM
        depends on ARCH_QCOM || COMPILE_TEST
+       depends on INTERCONNECT
        depends on QCOM_RPROC_COMMON || (QCOM_RPROC_COMMON=n && COMPILE_TEST)
        depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n
        select QCOM_MDT_LOADER if ARCH_QCOM