summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-09-15 15:26:13 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-09-16 15:46:03 -0400
commit9bad82b8ae0e96483507e09463d8520bcfa78cc3 (patch)
treeabdd4c32a0b001be01af5a177d92a0c5711c9ee8 /drivers
parent20c956dfbeec823082054954b2443e736455418b (diff)
downloadlinux-9bad82b8ae0e96483507e09463d8520bcfa78cc3.tar.gz
linux-9bad82b8ae0e96483507e09463d8520bcfa78cc3.tar.bz2
linux-9bad82b8ae0e96483507e09463d8520bcfa78cc3.zip
ath9k: make ath_ant_div_conf_fast_divbias static
CHECK drivers/net/wireless/ath/ath9k/recv.c drivers/net/wireless/ath/ath9k/recv.c:1341:6: warning: symbol 'ath_ant_div_conf_fast_divbias' was not declared. Should it be static? Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath9k/recv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c
index 9eceeae28e7e..f921aa20b301 100644
--- a/drivers/net/wireless/ath/ath9k/recv.c
+++ b/drivers/net/wireless/ath/ath9k/recv.c
@@ -1338,7 +1338,7 @@ static void ath_select_ant_div_from_quick_scan(struct ath_ant_comb *antcomb,
}
}
-void ath_ant_div_conf_fast_divbias(struct ath_hw_antcomb_conf *ant_conf)
+static void ath_ant_div_conf_fast_divbias(struct ath_hw_antcomb_conf *ant_conf)
{
/* Adjust the fast_div_bias based on main and alt lna conf */
switch ((ant_conf->main_lna_conf << 4) | ant_conf->alt_lna_conf) {