mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04: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 <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
This commit is contained in:
parent
99a31adfb2
commit
dea4bd1975
3 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue