summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/debug.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2013-09-03 11:44:03 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2013-09-06 12:42:26 +0300
commitdb66ea0442daaa4ee5fb8b3083bde1728ca3a9ba (patch)
treea68cc5f74d66318a03e97e0856a1f92c1e2fdb77 /drivers/net/wireless/ath/ath10k/debug.c
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.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/debug.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c
index 09f535a1c767..219d4692e548 100644
--- a/drivers/net/wireless/ath/ath10k/debug.c
+++ b/drivers/net/wireless/ath/ath10k/debug.c
@@ -517,6 +517,15 @@ static const struct file_operations fops_chip_id = {
.llseek = default_llseek,
};
+int ath10k_debug_start(struct ath10k *ar)
+{
+ return 0;
+}
+
+void ath10k_debug_stop(struct ath10k *ar)
+{
+}
+
int ath10k_debug_create(struct ath10k *ar)
{
ar->debug.debugfs_phy = debugfs_create_dir("ath10k",
@@ -541,6 +550,7 @@ int ath10k_debug_create(struct ath10k *ar)
return 0;
}
+
#endif /* CONFIG_ATH10K_DEBUGFS */
#ifdef CONFIG_ATH10K_DEBUG