summaryrefslogtreecommitdiff
path: root/drivers/slimbus/Kconfig
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@linaro.org>2018-11-12 12:25:26 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-27 08:44:06 +0100
commit5323ac5177c445c15f49c91fadf9539a0bc95fa9 (patch)
treed2b79599e605b60881e5d52959910c677e8fca81 /drivers/slimbus/Kconfig
parent458a445deb9c9fb13cec46fe9b179a84d2ff514f (diff)
slimbus: ngd: QCOM_QMI_HELPERS has to be selected
QCOM_QMI_HELPERS is a hidden kconfig, so the proper usage is to select it, not depend upon it. Because of this change, we now also need to depend on the same Kconfigs as QCOM_QMI_HELPERS depends on. Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/slimbus/Kconfig')
-rw-r--r--drivers/slimbus/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/slimbus/Kconfig b/drivers/slimbus/Kconfig
index 9d73ad806698..8cd595148d17 100644
--- a/drivers/slimbus/Kconfig
+++ b/drivers/slimbus/Kconfig
@@ -22,8 +22,9 @@ config SLIM_QCOM_CTRL
config SLIM_QCOM_NGD_CTRL
tristate "Qualcomm SLIMbus Satellite Non-Generic Device Component"
- depends on QCOM_QMI_HELPERS
- depends on HAS_IOMEM && DMA_ENGINE
+ depends on HAS_IOMEM && DMA_ENGINE && NET
+ depends on ARCH_QCOM || COMPILE_TEST
+ select QCOM_QMI_HELPERS
help
Select driver if Qualcomm's SLIMbus Satellite Non-Generic Device
Component is programmed using Linux kernel.