1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright(c) 2023 Intel Corporation */
3 
4 #ifndef ADF_DBGFS_H
5 #define ADF_DBGFS_H
6 
7 #ifdef CONFIG_DEBUG_FS
8 void adf_dbgfs_init(struct adf_accel_dev *accel_dev);
9 void adf_dbgfs_add(struct adf_accel_dev *accel_dev);
10 void adf_dbgfs_rm(struct adf_accel_dev *accel_dev);
11 void adf_dbgfs_exit(struct adf_accel_dev *accel_dev);
12 #else
13 static inline void adf_dbgfs_init(struct adf_accel_dev *accel_dev)
14 {
15 }
16 
17 static inline void adf_dbgfs_add(struct adf_accel_dev *accel_dev)
18 {
19 }
20 
21 static inline void adf_dbgfs_rm(struct adf_accel_dev *accel_dev)
22 {
23 }
24 
25 static inline void adf_dbgfs_exit(struct adf_accel_dev *accel_dev)
26 {
27 }
28 #endif
29 #endif
30