aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/debug.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2013-09-03 04:44:03 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2013-09-06 05:42:26 -0400
commitdb66ea0442daaa4ee5fb8b3083bde1728ca3a9ba (patch)
treea68cc5f74d66318a03e97e0856a1f92c1e2fdb77 /drivers/net/wireless/ath/ath10k/debug.h
parenta9bf05062d13b255d4231ca2637892d9b381a9d4 (diff)
ath10k: implement ath10k_debug_start/stop()
Needed for the HTT stats implementation. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/debug.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/debug.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/debug.h b/drivers/net/wireless/ath/ath10k/debug.h
index 168140c54028..9c442a82c493 100644
--- a/drivers/net/wireless/ath/ath10k/debug.h
+++ b/drivers/net/wireless/ath/ath10k/debug.h
@@ -42,6 +42,8 @@ extern __printf(1, 2) int ath10k_err(const char *fmt, ...);
42extern __printf(1, 2) int ath10k_warn(const char *fmt, ...); 42extern __printf(1, 2) int ath10k_warn(const char *fmt, ...);
43 43
44#ifdef CONFIG_ATH10K_DEBUGFS 44#ifdef CONFIG_ATH10K_DEBUGFS
45int ath10k_debug_start(struct ath10k *ar);
46void ath10k_debug_stop(struct ath10k *ar);
45int ath10k_debug_create(struct ath10k *ar); 47int ath10k_debug_create(struct ath10k *ar);
46void ath10k_debug_read_service_map(struct ath10k *ar, 48void ath10k_debug_read_service_map(struct ath10k *ar,
47 void *service_map, 49 void *service_map,
@@ -50,6 +52,15 @@ void ath10k_debug_read_target_stats(struct ath10k *ar,
50 struct wmi_stats_event *ev); 52 struct wmi_stats_event *ev);
51 53
52#else 54#else
55int ath10k_debug_start(struct ath10k *ar)
56{
57 return 0;
58}
59
60void ath10k_debug_stop(struct ath10k *ar)
61{
62}
63
53static inline int ath10k_debug_create(struct ath10k *ar) 64static inline int ath10k_debug_create(struct ath10k *ar)
54{ 65{
55 return 0; 66 return 0;