summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/debug.h
diff options
context:
space:
mode:
authorJeff Hansen <x@jeffhansen.com>2009-05-27 12:48:29 +0000
committerJohn W. Linville <linville@tuxdriver.com>2009-06-03 14:05:11 -0400
commit2493928e4dbefa1869413cf24b7f605b9b69d0d2 (patch)
tree68dd75f350816eb36a435cc2a20ccb25cbf47e54 /drivers/net/wireless/ath/ath9k/debug.h
parentbedf087af96a24861d09586ac25c26691300ff4c (diff)
downloadlinux-stable-2493928e4dbefa1869413cf24b7f605b9b69d0d2.tar.gz
linux-stable-2493928e4dbefa1869413cf24b7f605b9b69d0d2.tar.bz2
linux-stable-2493928e4dbefa1869413cf24b7f605b9b69d0d2.zip
ath9k: Add "debug" file to debugfs
This patch adds the debug file to the ath9k debugfs, which lets you modify the debug_mask at runtime, without having to reload the ath9k module. Signed-off-by: Jeff Hansen <x@jeffhansen.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.h b/drivers/net/wireless/ath/ath9k/debug.h
index cf9146a6aaaa..edda15bf2c15 100644
--- a/drivers/net/wireless/ath/ath9k/debug.h
+++ b/drivers/net/wireless/ath/ath9k/debug.h
@@ -95,6 +95,7 @@ struct ath_stats {
struct ath9k_debug {
int debug_mask;
struct dentry *debugfs_phy;
+ struct dentry *debugfs_debug;
struct dentry *debugfs_dma;
struct dentry *debugfs_interrupt;
struct dentry *debugfs_rcstat;