xref: /linux/drivers/net/wireless/ath/ath12k/debugfs.h (revision c5288cda69ee2d8607f5026bd599a5cebf0ee783)
1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
2 /*
3  * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4  * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
5  */
6 
7 #ifndef _ATH12K_DEBUGFS_H_
8 #define _ATH12K_DEBUGFS_H_
9 
10 #ifdef CONFIG_ATH12K_DEBUGFS
11 void ath12k_debugfs_soc_create(struct ath12k_base *ab);
12 void ath12k_debugfs_soc_destroy(struct ath12k_base *ab);
13 void ath12k_debugfs_register(struct ath12k *ar);
14 
15 #else
16 static inline void ath12k_debugfs_soc_create(struct ath12k_base *ab)
17 {
18 }
19 
20 static inline void ath12k_debugfs_soc_destroy(struct ath12k_base *ab)
21 {
22 }
23 
24 static inline void ath12k_debugfs_register(struct ath12k *ar)
25 {
26 }
27 
28 #endif /* CONFIG_ATH12K_DEBUGFS */
29 
30 #endif /* _ATH12K_DEBUGFS_H_ */
31