]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ath9k: make ath_ant_div_conf_fast_divbias static
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 15 Sep 2010 19:26:13 +0000 (15:26 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Sep 2010 19:46:03 +0000 (15:46 -0400)
  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>
drivers/net/wireless/ath/ath9k/recv.c

index 9eceeae28e7eed9ed23c442d97b7d1b45b5027da..f921aa20b301f813cf9d9c21a96e8d74bb82126d 100644 (file)
@@ -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) {