Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Luis R. Rodriguez and committed by
John W. Linville
14fb7c17 f8c2a087

+2 -2
+2 -2
drivers/net/wireless/ath/ath5k/base.c
··· 566 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, 570 - struct ieee80211_vif *vif) 569 + static void ath5k_update_bssid_mask_and_opmode(struct ath5k_softc *sc, 570 + struct ieee80211_vif *vif) 571 571 { 572 572 struct ath_common *common = ath5k_hw_common(sc->ah); 573 573 struct ath_vif_iter_data iter_data;