summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/ani.h
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2011-07-26 22:26:59 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-08 16:04:14 -0400
commit931be260ed54843edac37cb3ff09a40b86114b31 (patch)
tree98dd9e861d5bee66ad6f1f9dc730c2769873781d /drivers/net/wireless/ath/ath5k/ani.h
parentd601d9caceb40529f056a266cf3f99b43bc3057b (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/ani.h')
-rw-r--r--drivers/net/wireless/ath/ath5k/ani.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ani.h b/drivers/net/wireless/ath/ath5k/ani.h
index 034015397093..7358b6c83c6c 100644
--- a/drivers/net/wireless/ath/ath5k/ani.h
+++ b/drivers/net/wireless/ath/ath5k/ani.h
@@ -16,6 +16,10 @@
#ifndef ANI_H
#define ANI_H
+#include "../ath.h"
+
+enum ath5k_phy_error_code;
+
/* these thresholds are relative to the ATH5K_ANI_LISTEN_PERIOD */
#define ATH5K_ANI_LISTEN_PERIOD 100
#define ATH5K_ANI_OFDM_TRIG_HIGH 500