diff options
Diffstat (limited to 'drivers/net/wireless/ath9k/debug.h')
-rw-r--r-- | drivers/net/wireless/ath9k/debug.h | 12 |
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 | ||
103 | struct ath9k_debug { | 103 | struct 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 { | |||
114 | void DPRINTF(struct ath_softc *sc, int dbg_mask, const char *fmt, ...); | 113 | void DPRINTF(struct ath_softc *sc, int dbg_mask, const char *fmt, ...); |
115 | int ath9k_init_debug(struct ath_softc *sc); | 114 | int ath9k_init_debug(struct ath_softc *sc); |
116 | void ath9k_exit_debug(struct ath_softc *sc); | 115 | void ath9k_exit_debug(struct ath_softc *sc); |
116 | int ath9k_debug_create_root(void); | ||
117 | void ath9k_debug_remove_root(void); | ||
117 | void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status); | 118 | void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status); |
118 | void ath_debug_stat_rc(struct ath_softc *sc, struct sk_buff *skb); | 119 | void ath_debug_stat_rc(struct ath_softc *sc, struct sk_buff *skb); |
119 | void ath_debug_stat_retries(struct ath_softc *sc, int rix, | 120 | void 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 | ||
139 | static inline int ath9k_debug_create_root(void) | ||
140 | { | ||
141 | return 0; | ||
142 | } | ||
143 | |||
144 | static inline void ath9k_debug_remove_root(void) | ||
145 | { | ||
146 | } | ||
147 | |||
138 | static inline void ath_debug_stat_interrupt(struct ath_softc *sc, | 148 | static inline void ath_debug_stat_interrupt(struct ath_softc *sc, |
139 | enum ath9k_int status) | 149 | enum ath9k_int status) |
140 | { | 150 | { |