linux/drivers/net/wireless/ath/ath10k
Arnd Bergmann 424953cf3c qcom_scm: hide Kconfig symbol
Now that SCM can be a loadable module, we have to add another
dependency to avoid link failures when ipa or adreno-gpu are
built-in:

aarch64-linux-ld: drivers/net/ipa/ipa_main.o: in function `ipa_probe':
ipa_main.c:(.text+0xfc4): undefined reference to `qcom_scm_is_available'

ld.lld: error: undefined symbol: qcom_scm_is_available
>>> referenced by adreno_gpu.c
>>>               gpu/drm/msm/adreno/adreno_gpu.o:(adreno_zap_shader_load) in archive drivers/built-in.a

This can happen when CONFIG_ARCH_QCOM is disabled and we don't select
QCOM_MDT_LOADER, but some other module selects QCOM_SCM. Ideally we'd
use a similar dependency here to what we have for QCOM_RPROC_COMMON,
but that causes dependency loops from other things selecting QCOM_SCM.

This appears to be an endless problem, so try something different this
time:

 - CONFIG_QCOM_SCM becomes a hidden symbol that nothing 'depends on'
   but that is simply selected by all of its users

 - All the stubs in include/linux/qcom_scm.h can go away

 - arm-smccc.h needs to provide a stub for __arm_smccc_smc() to
   allow compile-testing QCOM_SCM on all architectures.

 - To avoid a circular dependency chain involving RESET_CONTROLLER
   and PINCTRL_SUNXI, drop the 'select RESET_CONTROLLER' statement.
   According to my testing this still builds fine, and the QCOM
   platform selects this symbol already.

Acked-by: Kalle Valo <kvalo@codeaurora.org>
Acked-by: Alex Elder <elder@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-10-07 16:51:57 +02:00
..
ahb.c ath10k: Use devm_platform_get_and_ioremap_resource() 2021-06-15 17:04:51 +03:00
ahb.h
bmi.c
bmi.h
ce.c
ce.h
core.c ath10k: allow dynamic SAR power limits via common API 2021-01-28 09:18:17 +02:00
core.h ath10k/ath11k: fix spelling mistake "requed" -> "requeued" 2021-05-24 08:34:46 +03:00
coredump.c
coredump.h
debug.c ath10k/ath11k: fix spelling mistake "requed" -> "requeued" 2021-05-24 08:34:46 +03:00
debug.h ath10k: Add new debug level for sta related logs 2021-02-09 09:25:10 +02:00
debugfs_sta.c
hif.h
htc.c ath10k: Fix a use after free in ath10k_htc_send_bundle 2021-04-22 16:53:35 +03:00
htc.h
htt_rx.c ath10k: remove unused more_frags variable 2021-06-12 13:38:26 +03:00
htt_tx.c ath10k: restore tx sk_buff of htt header for SDIO 2021-02-11 08:47:53 +02:00
htt.c
htt.h Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2021-05-31 17:29:39 +03:00
hw.c
hw.h ath10k: allow dynamic SAR power limits via common API 2021-01-28 09:18:17 +02:00
Kconfig qcom_scm: hide Kconfig symbol 2021-10-07 16:51:57 +02:00
mac.c ath10k: Fix an error code in ath10k_add_interface() 2021-06-15 17:03:21 +03:00
mac.h
Makefile
p2p.c
p2p.h
pci.c ath: switch from 'pci_' to 'dma_' API 2021-07-02 14:39:59 +03:00
pci.h ath10k: remove the repeated declaration 2021-06-15 17:03:51 +03:00
qmi_wlfw_v01.c
qmi_wlfw_v01.h
qmi.c
qmi.h
rx_desc.h ath10k: drop MPDU which has discard flag set by firmware for SDIO 2021-05-11 20:15:36 +02:00
sdio.c
sdio.h
snoc.c ath10k: skip the wait for completion to recovery in shutdown path 2021-03-09 12:48:47 +02:00
snoc.h
spectral.c
spectral.h
swap.c
swap.h
targaddrs.h
testmode_i.h
testmode.c
testmode.h
thermal.c
thermal.h
trace.c
trace.h ath10k: remove h from printk format specifier 2021-02-04 09:37:58 +02:00
txrx.c ath10k: remove h from printk format specifier 2021-02-04 09:37:58 +02:00
txrx.h
usb.c
usb.h
wmi-ops.h
wmi-tlv.c ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock 2021-04-22 16:59:56 +03:00
wmi-tlv.h
wmi.c ath10k: demote chan info without scan request warning 2021-06-19 12:12:42 +03:00
wmi.h ath10k: remove the repeated declaration 2021-06-15 17:03:51 +03:00
wow.c
wow.h