diff options
author | Pavel Roskin <proski@gnu.org> | 2011-07-26 22:26:59 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-08 16:04:14 -0400 |
commit | 931be260ed54843edac37cb3ff09a40b86114b31 (patch) | |
tree | 98dd9e861d5bee66ad6f1f9dc730c2769873781d /drivers/net/wireless/ath/ath5k/trace.h | |
parent | d601d9caceb40529f056a266cf3f99b43bc3057b (diff) |
ath5k: clean up base.h and its use
Remove unnecessary includes from base.h. Add includes to other files as
necessary. Don't include base.h unless needed.
Move declarations for functions in base.c from ath5k.h to base.h.
Use a better named define to protect base.h against double inclusion.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/trace.h')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/trace.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/trace.h b/drivers/net/wireless/ath/ath5k/trace.h index c741c871f4e9..39f002ed4a88 100644 --- a/drivers/net/wireless/ath/ath5k/trace.h +++ b/drivers/net/wireless/ath/ath5k/trace.h | |||
@@ -2,7 +2,6 @@ | |||
2 | #define __TRACE_ATH5K_H | 2 | #define __TRACE_ATH5K_H |
3 | 3 | ||
4 | #include <linux/tracepoint.h> | 4 | #include <linux/tracepoint.h> |
5 | #include "base.h" | ||
6 | 5 | ||
7 | #ifndef CONFIG_ATH5K_TRACER | 6 | #ifndef CONFIG_ATH5K_TRACER |
8 | #undef TRACE_EVENT | 7 | #undef TRACE_EVENT |
@@ -11,6 +10,8 @@ static inline void trace_ ## name(proto) {} | |||
11 | #endif | 10 | #endif |
12 | 11 | ||
13 | struct sk_buff; | 12 | struct sk_buff; |
13 | struct ath5k_txq; | ||
14 | struct ath5k_tx_status; | ||
14 | 15 | ||
15 | #undef TRACE_SYSTEM | 16 | #undef TRACE_SYSTEM |
16 | #define TRACE_SYSTEM ath5k | 17 | #define TRACE_SYSTEM ath5k |