summaryrefslogtreecommitdiffstats
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-02-22 16:57:38 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-03-27 22:43:29 +0200
commitdea4bd1975e36e3127a95e74c3670ea8d7f4796f (patch)
treea683663f79ad20223ade53270ef58f084597ecde /samples/Kconfig
parentremoteproc: imx_rproc: Slightly simplify code in 'imx_rproc_probe()' (diff)
downloadlinux-dea4bd1975e36e3127a95e74c3670ea8d7f4796f.tar.xz
linux-dea4bd1975e36e3127a95e74c3670ea8d7f4796f.zip
soc: qcom: qmi: add CONFIG_NET dependency
Access to the socket API and the root network namespace is only available when networking is enabled: ERROR: "kernel_sendmsg" [drivers/soc/qcom/qmi_helpers.ko] undefined! ERROR: "sock_release" [drivers/soc/qcom/qmi_helpers.ko] undefined! ERROR: "sock_create_kern" [drivers/soc/qcom/qmi_helpers.ko] undefined! ERROR: "kernel_getsockname" [drivers/soc/qcom/qmi_helpers.ko] undefined! ERROR: "init_net" [drivers/soc/qcom/qmi_helpers.ko] undefined! ERROR: "kernel_recvmsg" [drivers/soc/qcom/qmi_helpers.ko] undefined! Adding a dependency on CONFIG_NET lets us build it in all randconfig builds. Fixes: 9b8a11e82615 ("soc: qcom: Introduce QMI encoder/decoder") Acked-by: Andy Gross <andy.gross@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'samples/Kconfig')
-rw-r--r--samples/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/Kconfig b/samples/Kconfig
index 4cb8af2f810f..168291de0184 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -66,6 +66,7 @@ config SAMPLE_QMI_CLIENT
tristate "Build qmi client sample -- loadable modules only"
depends on m
depends on ARCH_QCOM
+ depends on NET
select QCOM_QMI_HELPERS
help
Build an QMI client sample driver, which demonstrates how to