aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath9k/debug.h')
-rw-r--r--drivers/net/wireless/ath9k/debug.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/debug.h b/drivers/net/wireless/ath9k/debug.h
index 2a33d74fdbee..065268b8568f 100644
--- a/drivers/net/wireless/ath9k/debug.h
+++ b/drivers/net/wireless/ath9k/debug.h
@@ -102,7 +102,6 @@ struct ath_stats {
102 102
103struct ath9k_debug { 103struct ath9k_debug {
104 int debug_mask; 104 int debug_mask;
105 struct dentry *debugfs_root;
106 struct dentry *debugfs_phy; 105 struct dentry *debugfs_phy;
107 struct dentry *debugfs_dma; 106 struct dentry *debugfs_dma;
108 struct dentry *debugfs_interrupt; 107 struct dentry *debugfs_interrupt;
@@ -114,6 +113,8 @@ struct ath9k_debug {
114void DPRINTF(struct ath_softc *sc, int dbg_mask, const char *fmt, ...); 113void DPRINTF(struct ath_softc *sc, int dbg_mask, const char *fmt, ...);
115int ath9k_init_debug(struct ath_softc *sc); 114int ath9k_init_debug(struct ath_softc *sc);
116void ath9k_exit_debug(struct ath_softc *sc); 115void ath9k_exit_debug(struct ath_softc *sc);
116int ath9k_debug_create_root(void);
117void ath9k_debug_remove_root(void);
117void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status); 118void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status);
118void ath_debug_stat_rc(struct ath_softc *sc, struct sk_buff *skb); 119void ath_debug_stat_rc(struct ath_softc *sc, struct sk_buff *skb);
119void ath_debug_stat_retries(struct ath_softc *sc, int rix, 120void ath_debug_stat_retries(struct ath_softc *sc, int rix,
@@ -135,6 +136,15 @@ static inline void ath9k_exit_debug(struct ath_softc *sc)
135{ 136{
136} 137}
137 138
139static inline int ath9k_debug_create_root(void)
140{
141 return 0;
142}
143
144static inline void ath9k_debug_remove_root(void)
145{
146}
147
138static inline void ath_debug_stat_interrupt(struct ath_softc *sc, 148static inline void ath_debug_stat_interrupt(struct ath_softc *sc,
139 enum ath9k_int status) 149 enum ath9k_int status)
140{ 150{