Skip to content

Commit caef14b

Browse files
Alex Elderdavem330
authored andcommitted
net: ipa: fix a build dependency
An IPA build problem arose in the linux-next tree the other day. The problem is that a recent commit adds a new dependency on some code, and the Kconfig file for IPA doesn't reflect that dependency. As a result, some configurations can fail to build (particularly when COMPILE_TEST is enabled). The recent patch adds calls to qmp_get(), qmp_put(), and qmp_send(), and those are built based on the QCOM_AOSS_QMP config option. If that symbol is not defined, stubs are defined, so we just need to ensure QCOM_AOSS_QMP is compatible with QCOM_IPA, or it's not defined. Reported-by: Randy Dunlap <[email protected]> Fixes: 34a0817 ("net: ipa: request IPA register values be retained") Signed-off-by: Alex Elder <[email protected]> Tested-by: Randy Dunlap <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d4e26aa commit caef14b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ipa/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ config QCOM_IPA
33
depends on NET && QCOM_SMEM
44
depends on ARCH_QCOM || COMPILE_TEST
55
depends on QCOM_RPROC_COMMON || (QCOM_RPROC_COMMON=n && COMPILE_TEST)
6+
depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n
67
select QCOM_MDT_LOADER if ARCH_QCOM
78
select QCOM_SCM
89
select QCOM_QMI_HELPERS

0 commit comments

Comments
 (0)