mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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: 9b8a11e826
("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>
This commit is contained in:
committed by
Bjorn Andersson
parent
99a31adfb2
commit
dea4bd1975
@@ -121,6 +121,7 @@ config QCOM_SYSMON
|
|||||||
tristate "Qualcomm sysmon driver"
|
tristate "Qualcomm sysmon driver"
|
||||||
depends on RPMSG
|
depends on RPMSG
|
||||||
depends on ARCH_QCOM
|
depends on ARCH_QCOM
|
||||||
|
depends on NET
|
||||||
select QCOM_QMI_HELPERS
|
select QCOM_QMI_HELPERS
|
||||||
help
|
help
|
||||||
The sysmon driver implements a sysmon QMI client and a handler for
|
The sysmon driver implements a sysmon QMI client and a handler for
|
||||||
|
@@ -37,7 +37,7 @@ config QCOM_PM
|
|||||||
|
|
||||||
config QCOM_QMI_HELPERS
|
config QCOM_QMI_HELPERS
|
||||||
tristate
|
tristate
|
||||||
depends on ARCH_QCOM
|
depends on ARCH_QCOM && NET
|
||||||
help
|
help
|
||||||
Helper library for handling QMI encoded messages. QMI encoded
|
Helper library for handling QMI encoded messages. QMI encoded
|
||||||
messages are used in communication between the majority of QRTR
|
messages are used in communication between the majority of QRTR
|
||||||
|
@@ -66,6 +66,7 @@ config SAMPLE_QMI_CLIENT
|
|||||||
tristate "Build qmi client sample -- loadable modules only"
|
tristate "Build qmi client sample -- loadable modules only"
|
||||||
depends on m
|
depends on m
|
||||||
depends on ARCH_QCOM
|
depends on ARCH_QCOM
|
||||||
|
depends on NET
|
||||||
select QCOM_QMI_HELPERS
|
select QCOM_QMI_HELPERS
|
||||||
help
|
help
|
||||||
Build an QMI client sample driver, which demonstrates how to
|
Build an QMI client sample driver, which demonstrates how to
|
||||||
|
Reference in New Issue
Block a user