0001
0002
0003
0004
0005 #ifndef DPAA2_ETH_DEBUGFS_H
0006 #define DPAA2_ETH_DEBUGFS_H
0007
0008 #include <linux/dcache.h>
0009
0010 struct dpaa2_eth_priv;
0011
0012 struct dpaa2_debugfs {
0013 struct dentry *dir;
0014 };
0015
0016 #ifdef CONFIG_DEBUG_FS
0017 void dpaa2_eth_dbg_init(void);
0018 void dpaa2_eth_dbg_exit(void);
0019 void dpaa2_dbg_add(struct dpaa2_eth_priv *priv);
0020 void dpaa2_dbg_remove(struct dpaa2_eth_priv *priv);
0021 #else
0022 static inline void dpaa2_eth_dbg_init(void) {}
0023 static inline void dpaa2_eth_dbg_exit(void) {}
0024 static inline void dpaa2_dbg_add(struct dpaa2_eth_priv *priv) {}
0025 static inline void dpaa2_dbg_remove(struct dpaa2_eth_priv *priv) {}
0026 #endif
0027
0028 #endif