diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/debug.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/drivers/net/wireless/ath/ath5k/debug.c b/drivers/net/wireless/ath/ath5k/debug.c index ccca724de173..8c5ce8b0c734 100644 --- a/drivers/net/wireless/ath/ath5k/debug.c +++ b/drivers/net/wireless/ath/ath5k/debug.c | |||
@@ -57,20 +57,20 @@ | |||
57 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | 57 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
58 | * THE POSSIBILITY OF SUCH DAMAGES. | 58 | * THE POSSIBILITY OF SUCH DAMAGES. |
59 | */ | 59 | */ |
60 | #include <linux/export.h> | ||
61 | #include <linux/moduleparam.h> | ||
60 | 62 | ||
61 | #include "base.h" | 63 | #include <linux/seq_file.h> |
64 | #include <linux/list.h> | ||
62 | #include "debug.h" | 65 | #include "debug.h" |
66 | #include "ath5k.h" | ||
67 | #include "reg.h" | ||
68 | #include "base.h" | ||
63 | 69 | ||
64 | static unsigned int ath5k_debug; | 70 | static unsigned int ath5k_debug; |
65 | module_param_named(debug, ath5k_debug, uint, 0); | 71 | module_param_named(debug, ath5k_debug, uint, 0); |
66 | 72 | ||
67 | 73 | ||
68 | #ifdef CONFIG_ATH5K_DEBUG | ||
69 | |||
70 | #include <linux/seq_file.h> | ||
71 | #include "reg.h" | ||
72 | #include "ani.h" | ||
73 | |||
74 | static int ath5k_debugfs_open(struct inode *inode, struct file *file) | 74 | static int ath5k_debugfs_open(struct inode *inode, struct file *file) |
75 | { | 75 | { |
76 | file->private_data = inode->i_private; | 76 | file->private_data = inode->i_private; |
@@ -1031,5 +1031,3 @@ ath5k_debug_printtxbuf(struct ath5k_hw *ah, struct ath5k_buf *bf) | |||
1031 | td->tx_stat.tx_status_0, td->tx_stat.tx_status_1, | 1031 | td->tx_stat.tx_status_0, td->tx_stat.tx_status_1, |
1032 | done ? ' ' : (ts.ts_status == 0) ? '*' : '!'); | 1032 | done ? ' ' : (ts.ts_status == 0) ? '*' : '!'); |
1033 | } | 1033 | } |
1034 | |||
1035 | #endif /* ifdef CONFIG_ATH5K_DEBUG */ | ||