diff options
author | Govind Singh <govinds@codeaurora.org> | 2020-09-14 19:06:55 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-09-21 16:11:28 +0300 |
commit | ba929d6fe31a3d7d3538b590c0a90ccafaeaa8dc (patch) | |
tree | fd9dcbe9ed541aa7f42ec95c7ffa365dd82aabb1 /drivers/net/wireless/ath/ath11k/ahb.h | |
parent | 03fb92a432ea5abe5909bca1455b7e44a9380480 (diff) |
ath11k: Remove rproc references from common core layer
IPQ8074 HW uses rproc with AHB as underlying hif layer.
Move rproc references from common core layer to target
hif layer. Remove IS_ENABLED check for CONFIG_REMOTEPROC
as it's not required anymore.
No functional changes. Compile tested only.
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1600090615-18904-1-git-send-email-govinds@codeaurora.org
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/ahb.h')
-rw-r--r-- | drivers/net/wireless/ath/ath11k/ahb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath11k/ahb.h b/drivers/net/wireless/ath/ath11k/ahb.h index 6c7b26ac6545..51e6e4a5f686 100644 --- a/drivers/net/wireless/ath/ath11k/ahb.h +++ b/drivers/net/wireless/ath/ath11k/ahb.h @@ -10,4 +10,12 @@ #define ATH11K_AHB_RECOVERY_TIMEOUT (3 * HZ) struct ath11k_base; +struct ath11k_ahb { + struct rproc *tgt_rproc; +}; + +static inline struct ath11k_ahb *ath11k_ahb_priv(struct ath11k_base *ab) +{ + return (struct ath11k_ahb *)ab->drv_priv; +} #endif |