diff options
author | Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> | 2011-08-26 03:36:31 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-08-31 03:10:54 -0400 |
commit | d999ba3e21dc1c84cac9caf68db78fd6dbde7817 (patch) | |
tree | c9daba2224a398b8c5366c5f838b81b485d0b6bb /drivers/net/wireless/ath/ath6kl/debug.h | |
parent | f7a7e7ae5db1d436805de7fe19c51b5b2657c63e (diff) |
ath6kl: Add initial debugfs changes
Just initial debugfs changes. The debugfs directory would
be created at <debugfs_root>/ieee80211/phyX/ath6kl.
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/debug.h')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/debug.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/debug.h b/drivers/net/wireless/ath/ath6kl/debug.h index 66b399962f01..e8c9ea9ce02c 100644 --- a/drivers/net/wireless/ath/ath6kl/debug.h +++ b/drivers/net/wireless/ath/ath6kl/debug.h | |||
@@ -78,6 +78,7 @@ void ath6kl_dump_registers(struct ath6kl_device *dev, | |||
78 | struct ath6kl_irq_proc_registers *irq_proc_reg, | 78 | struct ath6kl_irq_proc_registers *irq_proc_reg, |
79 | struct ath6kl_irq_enable_reg *irq_en_reg); | 79 | struct ath6kl_irq_enable_reg *irq_en_reg); |
80 | void dump_cred_dist_stats(struct htc_target *target); | 80 | void dump_cred_dist_stats(struct htc_target *target); |
81 | int ath6kl_debug_init(struct ath6kl *ar); | ||
81 | #else | 82 | #else |
82 | static inline int ath6kl_dbg(enum ATH6K_DEBUG_MASK dbg_mask, | 83 | static inline int ath6kl_dbg(enum ATH6K_DEBUG_MASK dbg_mask, |
83 | const char *fmt, ...) | 84 | const char *fmt, ...) |
@@ -100,6 +101,9 @@ static inline void ath6kl_dump_registers(struct ath6kl_device *dev, | |||
100 | static inline void dump_cred_dist_stats(struct htc_target *target) | 101 | static inline void dump_cred_dist_stats(struct htc_target *target) |
101 | { | 102 | { |
102 | } | 103 | } |
104 | static inline int ath6kl_debug_init(struct ath6kl *ar) | ||
105 | { | ||
106 | return 0; | ||
107 | } | ||
103 | #endif | 108 | #endif |
104 | |||
105 | #endif | 109 | #endif |