This source file includes following definitions.
- cc_debugfs_global_init
- cc_debugfs_global_fini
- cc_debugfs_init
- cc_debugfs_fini
1
2
3
4 #ifndef __CC_DEBUGFS_H__
5 #define __CC_DEBUGFS_H__
6
7 #ifdef CONFIG_DEBUG_FS
8 void cc_debugfs_global_init(void);
9 void cc_debugfs_global_fini(void);
10
11 int cc_debugfs_init(struct cc_drvdata *drvdata);
12 void cc_debugfs_fini(struct cc_drvdata *drvdata);
13
14 #else
15
16 static inline void cc_debugfs_global_init(void) {}
17 static inline void cc_debugfs_global_fini(void) {}
18
19 static inline int cc_debugfs_init(struct cc_drvdata *drvdata)
20 {
21 return 0;
22 }
23
24 static inline void cc_debugfs_fini(struct cc_drvdata *drvdata) {}
25
26 #endif
27
28 #endif