diff options
author | Pavel Roskin <proski@gnu.org> | 2011-07-27 04:26:59 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-08 22:04:14 +0200 |
commit | 931be260ed54843edac37cb3ff09a40b86114b31 (patch) | |
tree | 98dd9e861d5bee66ad6f1f9dc730c2769873781d /drivers/net/wireless/ath/ath5k/trace.h | |
parent | ath: fix spelling of Grenada (diff) | |
download | linux-931be260ed54843edac37cb3ff09a40b86114b31.tar.xz linux-931be260ed54843edac37cb3ff09a40b86114b31.zip |
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 @@ #define __TRACE_ATH5K_H #include <linux/tracepoint.h> -#include "base.h" #ifndef CONFIG_ATH5K_TRACER #undef TRACE_EVENT @@ -11,6 +10,8 @@ static inline void trace_ ## name(proto) {} #endif struct sk_buff; +struct ath5k_txq; +struct ath5k_tx_status; #undef TRACE_SYSTEM #define TRACE_SYSTEM ath5k |