Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / net / wireless / ath / ath11k / ahb.h
blob51e6e4a5f686e1a4d6ad647fd7879465e160fc90
1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
2 /*
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 */
5 #ifndef ATH11K_AHB_H
6 #define ATH11K_AHB_H
8 #include "core.h"
10 #define ATH11K_AHB_RECOVERY_TIMEOUT (3 * HZ)
11 struct ath11k_base;
13 struct ath11k_ahb {
14 struct rproc *tgt_rproc;
17 static inline struct ath11k_ahb *ath11k_ahb_priv(struct ath11k_base *ab)
19 return (struct ath11k_ahb *)ab->drv_priv;
21 #endif