Skip to contentSkip to conversation

ath9k: make ath_ant_div_conf_fast_divbias static

PATCH New John W. Linville 2 participants 2 messages Sep 15, 2010 – Sep 16, 2010 Qualcomm Atheros ATH9K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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?

---
 drivers/net/wireless/ath/ath9k/recv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/ath/ath9k/recv.c +1 -1
index 6fb3b45..aa9a14d 100644
@@ -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) {
Signature · 1 line
1.7.2.3
#1 lore raw

PATCH 1/1 ath9k: make ath_ant_div_conf_fast_divbias static

Quoted 13 lines · John W. Linville

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?

---
 drivers/net/wireless/ath/ath9k/recv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/ath/ath9k/recv.c +0 -0
index 6fb3b45..aa9a14d 100644

drivers/net/wireless/ath/ath9k/recv.c static void ath_select_ant_div_from_quick_scan(struct ath_ant_comb *antcomb, · line 1344

Quoted 8 lines
drivers/net/wireless/ath/ath9k/recv.c +1 -1
@@ -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) {

thanks for fixing this. btw, a patch fixing this one was already part of my 3 patch series, probably the commit log was not good or something?

Thanks,

Vasanth