This source file includes following definitions.
- dpaa2_eth_dbg_init
- dpaa2_eth_dbg_exit
- dpaa2_dbg_add
- dpaa2_dbg_remove
1
2
3
4
5 #ifndef DPAA2_ETH_DEBUGFS_H
6 #define DPAA2_ETH_DEBUGFS_H
7
8 #include <linux/dcache.h>
9
10 struct dpaa2_eth_priv;
11
12 struct dpaa2_debugfs {
13 struct dentry *dir;
14 };
15
16 #ifdef CONFIG_DEBUG_FS
17 void dpaa2_eth_dbg_init(void);
18 void dpaa2_eth_dbg_exit(void);
19 void dpaa2_dbg_add(struct dpaa2_eth_priv *priv);
20 void dpaa2_dbg_remove(struct dpaa2_eth_priv *priv);
21 #else
22 static inline void dpaa2_eth_dbg_init(void) {}
23 static inline void dpaa2_eth_dbg_exit(void) {}
24 static inline void dpaa2_dbg_add(struct dpaa2_eth_priv *priv) {}
25 static inline void dpaa2_dbg_remove(struct dpaa2_eth_priv *priv) {}
26 #endif
27
28 #endif