ath5k: make ath5k_update_bssid_mask_and_opmode() static
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 20 Oct 2010 13:59:38 +0000 (06:59 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:23:19 +0000 (13:23 -0500)
This fixes this sparse warning:

  CHECK   drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/base.c:569:6: warning: symbol
'ath5k_update_bssid_mask_and_opmode' was not declared. Should it be static?

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c

index 484aad5b11b5e5138cdf668ef689af7c596c04ff..b9f93fbd9728d40dba9073f4e8936a1f1c4a6b6c 100644 (file)
@@ -566,8 +566,8 @@ static void ath_do_set_opmode(struct ath5k_softc *sc)
                  sc->opmode, ath_opmode_to_string(sc->opmode));
 }
 
-void ath5k_update_bssid_mask_and_opmode(struct ath5k_softc *sc,
-                                       struct ieee80211_vif *vif)
+static void ath5k_update_bssid_mask_and_opmode(struct ath5k_softc *sc,
+                                              struct ieee80211_vif *vif)
 {
        struct ath_common *common = ath5k_hw_common(sc->ah);
        struct ath_vif_iter_data iter_data;