aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-10-15 14:03:33 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-11-09 16:13:25 -0500
commit744bcb42a1ff1b9200e82dd074468877e31ff161 (patch)
tree93b5b362193889461072517ec9602c02bc688f6b /drivers/net/wireless/ath/ath9k/hw.c
parent8eb1dabbd10e067cff671935d3e0c819f8e80d54 (diff)
ath9k_hw: make ath9k_hw_gettsf32 static
It is now only used in hw.c Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index cc13ee11782..d37a8ad03d7 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -2312,11 +2312,10 @@ static u32 rightmost_index(struct ath_gen_timer_table *timer_table, u32 *mask)
2312 return timer_table->gen_timer_index[b]; 2312 return timer_table->gen_timer_index[b];
2313} 2313}
2314 2314
2315u32 ath9k_hw_gettsf32(struct ath_hw *ah) 2315static u32 ath9k_hw_gettsf32(struct ath_hw *ah)
2316{ 2316{
2317 return REG_READ(ah, AR_TSF_L32); 2317 return REG_READ(ah, AR_TSF_L32);
2318} 2318}
2319EXPORT_SYMBOL(ath9k_hw_gettsf32);
2320 2319
2321struct ath_gen_timer *ath_gen_timer_alloc(struct ath_hw *ah, 2320struct ath_gen_timer *ath_gen_timer_alloc(struct ath_hw *ah,
2322 void (*trigger)(void *), 2321 void (*trigger)(void *),