diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/debug.h')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/debug.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/debug.h b/drivers/net/wireless/ath/ath6kl/debug.h index f97cd4ead543..74369de00fb5 100644 --- a/drivers/net/wireless/ath/ath6kl/debug.h +++ b/drivers/net/wireless/ath/ath6kl/debug.h | |||
@@ -19,6 +19,7 @@ | |||
19 | #define DEBUG_H | 19 | #define DEBUG_H |
20 | 20 | ||
21 | #include "hif.h" | 21 | #include "hif.h" |
22 | #include "trace.h" | ||
22 | 23 | ||
23 | enum ATH6K_DEBUG_MASK { | 24 | enum ATH6K_DEBUG_MASK { |
24 | ATH6KL_DBG_CREDIT = BIT(0), | 25 | ATH6KL_DBG_CREDIT = BIT(0), |
@@ -51,13 +52,9 @@ enum ATH6K_DEBUG_MASK { | |||
51 | extern unsigned int debug_mask; | 52 | extern unsigned int debug_mask; |
52 | extern __printf(2, 3) | 53 | extern __printf(2, 3) |
53 | int ath6kl_printk(const char *level, const char *fmt, ...); | 54 | int ath6kl_printk(const char *level, const char *fmt, ...); |
54 | 55 | extern __printf(1, 2) int ath6kl_info(const char *fmt, ...); | |
55 | #define ath6kl_info(fmt, ...) \ | 56 | extern __printf(1, 2) int ath6kl_err(const char *fmt, ...); |
56 | ath6kl_printk(KERN_INFO, fmt, ##__VA_ARGS__) | 57 | extern __printf(1, 2) int ath6kl_warn(const char *fmt, ...); |
57 | #define ath6kl_err(fmt, ...) \ | ||
58 | ath6kl_printk(KERN_ERR, fmt, ##__VA_ARGS__) | ||
59 | #define ath6kl_warn(fmt, ...) \ | ||
60 | ath6kl_printk(KERN_WARNING, fmt, ##__VA_ARGS__) | ||
61 | 58 | ||
62 | enum ath6kl_war { | 59 | enum ath6kl_war { |
63 | ATH6KL_WAR_INVALID_RATE, | 60 | ATH6KL_WAR_INVALID_RATE, |