xref: /freebsd/sys/contrib/dev/athk/ath12k/wifi7/ahb.h (revision 60bac4d6438b6bcb3d7b439684211d05396d90ce)
1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
2 /*
3  * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4  * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
5  */
6 #ifndef ATH12K_AHB_WIFI7_H
7 #define ATH12K_AHB_WIFI7_H
8 
9 #ifdef CONFIG_ATH12K_AHB
10 int ath12k_wifi7_ahb_init(void);
11 void ath12k_wifi7_ahb_exit(void);
12 #else
ath12k_wifi7_ahb_init(void)13 static inline int ath12k_wifi7_ahb_init(void)
14 {
15 	return 0;
16 }
17 
ath12k_wifi7_ahb_exit(void)18 static inline void ath12k_wifi7_ahb_exit(void) {}
19 #endif
20 #endif /* ATH12K_AHB_WIFI7_H */
21