Skip to contentSkip to conversation

ath9k: make ath_reset non-static

RFC New Mohammed Shafi Shajakhan 1 participant 1 message Nov 15, 2011 Qualcomm Atheros ATH9K wireless driver

lore
Share & tools
lore
#0 lore raw

RFC 16/18 ath9k: make ath_reset non-static

From: Mohammed Shafi Shajakhan <[email protected]>

to be used by MCI specific changes

---
 drivers/net/wireless/ath/ath9k/ath9k.h |    1 +
 drivers/net/wireless/ath/ath9k/main.c  |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/wireless/ath/ath9k/ath9k.h +1 -0
index 9f28cc4..c04ff7d 100644
@@ -424,6 +424,7 @@ void ath9k_set_beaconing_status(struct ath_softc *sc, bool status);
 
 #define ATH_PAPRD_TIMEOUT	100 /* msecs */
 
+int ath_reset(struct ath_softc *sc, bool retry_tx);
 void ath_reset_work(struct work_struct *work);
 void ath_hw_check(struct work_struct *work);
 void ath_hw_pll_work(struct work_struct *work);
drivers/net/wireless/ath/ath9k/main.c +1 -1
index 90d35f2..c9578ab 100644
@@ -959,7 +959,7 @@ void ath_radio_disable(struct ath_softc *sc, struct ieee80211_hw *hw)
 	ath9k_ps_restore(sc);
 }
 
-static int ath_reset(struct ath_softc *sc, bool retry_tx)
+int ath_reset(struct ath_softc *sc, bool retry_tx)
 {
 	int r;
 
Signature · 1 line
1.7.0.4