diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-10-20 09:59:38 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-15 13:23:19 -0500 |
commit | 14fb7c17e97ea0fcc545393fb1f34e6541647b5b (patch) | |
tree | 845ae30f011b0ff445ce8a278f1873d2d38c6169 /drivers/net/wireless/ath/ath5k/base.c | |
parent | f8c2a0871b8462481a02445b38a7321ad63bfc88 (diff) |
ath5k: make ath5k_update_bssid_mask_and_opmode() static
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index 484aad5b11b..b9f93fbd972 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -566,8 +566,8 @@ static void ath_do_set_opmode(struct ath5k_softc *sc) | |||
566 | sc->opmode, ath_opmode_to_string(sc->opmode)); | 566 | sc->opmode, ath_opmode_to_string(sc->opmode)); |
567 | } | 567 | } |
568 | 568 | ||
569 | void ath5k_update_bssid_mask_and_opmode(struct ath5k_softc *sc, | 569 | static void ath5k_update_bssid_mask_and_opmode(struct ath5k_softc *sc, |
570 | struct ieee80211_vif *vif) | 570 | struct ieee80211_vif *vif) |
571 | { | 571 | { |
572 | struct ath_common *common = ath5k_hw_common(sc->ah); | 572 | struct ath_common *common = ath5k_hw_common(sc->ah); |
573 | struct ath_vif_iter_data iter_data; | 573 | struct ath_vif_iter_data iter_data; |