slimbus: qcom-ngd-ctrl: allow compile testing without QCOM_RPROC_COMMON
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 16 Sep 2022 12:29:10 +0000 (13:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Sep 2022 12:51:53 +0000 (14:51 +0200)
The Qualcomm common remote-proc code (CONFIG_QCOM_RPROC_COMMON) has
necessary stubs, so it is not needed for compile testing.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220916122910.170730-5-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/slimbus/Kconfig

index 1235b7d..2ed821f 100644 (file)
@@ -22,7 +22,8 @@ config SLIM_QCOM_CTRL
 
 config SLIM_QCOM_NGD_CTRL
        tristate "Qualcomm SLIMbus Satellite Non-Generic Device Component"
-       depends on HAS_IOMEM && DMA_ENGINE && NET && QCOM_RPROC_COMMON
+       depends on HAS_IOMEM && DMA_ENGINE && NET
+       depends on QCOM_RPROC_COMMON || COMPILE_TEST
        depends on ARCH_QCOM || COMPILE_TEST
        select QCOM_QMI_HELPERS
        select QCOM_PDR_HELPERS