Skip to content

Commit be70a6c

Browse files
lumaggregkh
authored andcommitted
wifi: ath10k: fix QCOM_RPROC_COMMON dependency
[ Upstream commit 21ae74e ] If ath10k_snoc is built-in, while Qualcomm remoteprocs are built as modules, compilation fails with: /usr/bin/aarch64-linux-gnu-ld: drivers/net/wireless/ath/ath10k/snoc.o: in function `ath10k_modem_init': drivers/net/wireless/ath/ath10k/snoc.c:1534: undefined reference to `qcom_register_ssr_notifier' /usr/bin/aarch64-linux-gnu-ld: drivers/net/wireless/ath/ath10k/snoc.o: in function `ath10k_modem_deinit': drivers/net/wireless/ath/ath10k/snoc.c:1551: undefined reference to `qcom_unregister_ssr_notifier' Add corresponding dependency to ATH10K_SNOC Kconfig entry so that it's built as module if QCOM_RPROC_COMMON is built as module too. Fixes: 747ff7d ("ath10k: Don't always treat modem stop events as crashes") Cc: [email protected] Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://msgid.link/[email protected] Signed-off-by: Sasha Levin <[email protected]>
1 parent 46a072e commit be70a6c

File tree

1 file changed

+1
-0
lines changed
  • drivers/net/wireless/ath/ath10k

1 file changed

+1
-0
lines changed

drivers/net/wireless/ath/ath10k/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ config ATH10K_SNOC
4444
tristate "Qualcomm ath10k SNOC support"
4545
depends on ATH10K
4646
depends on ARCH_QCOM || COMPILE_TEST
47+
depends on QCOM_RPROC_COMMON || QCOM_RPROC_COMMON=n
4748
select QCOM_SCM
4849
select QCOM_QMI_HELPERS
4950
help

0 commit comments

Comments
 (0)