Skip to content

Commit 2df1580

Browse files
arndbkuba-moo
authored andcommitted
ipa: fix compile-testing with qcom-mdt=m
There are multiple drivers that use the qualcomm mdt loader, but they have conflicting ideas of how to deal with that dependency when compile-testing for non-qualcomm targets: IPA only enables the MDT loader when the kernel config includes ARCH_QCOM, but the newly added ath12k support always enables it, which leads to a link failure with the combination of IPA=y and ATH12K=m: aarch64-linux-ld: drivers/net/ipa/ipa_main.o: in function `ipa_firmware_load': ipa_main.c:(.text.unlikely+0x134): undefined reference to `qcom_mdt_load The ATH12K method seems more reliable here, so change IPA over to do the same thing. Fixes: 38a4066 ("net: ipa: support COMPILE_TEST") Fixes: c0dd3f4 ("wifi: ath12k: enable ath12k AHB support") Signed-off-by: Arnd Bergmann <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 4b31bcb commit 2df1580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ipa/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ config QCOM_IPA
55
depends on INTERCONNECT
66
depends on QCOM_RPROC_COMMON || (QCOM_RPROC_COMMON=n && COMPILE_TEST)
77
depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n
8-
select QCOM_MDT_LOADER if ARCH_QCOM
8+
select QCOM_MDT_LOADER
99
select QCOM_SCM
1010
select QCOM_QMI_HELPERS
1111
help

0 commit comments

Comments
 (0)