summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/570-ath9k_mci_static.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/570-ath9k_mci_static.patch')
-rw-r--r--package/mac80211/patches/570-ath9k_mci_static.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/package/mac80211/patches/570-ath9k_mci_static.patch b/package/mac80211/patches/570-ath9k_mci_static.patch
new file mode 100644
index 0000000000..9a337c0d60
--- /dev/null
+++ b/package/mac80211/patches/570-ath9k_mci_static.patch
@@ -0,0 +1,37 @@
+--- a/drivers/net/wireless/ath/ath9k/mci.c
++++ b/drivers/net/wireless/ath/ath9k/mci.c
+@@ -234,8 +234,8 @@ static void ath_mci_cal_msg(struct ath_s
+ }
+ }
+
+-void ath_mci_process_profile(struct ath_softc *sc,
+- struct ath_mci_profile_info *info)
++static void ath_mci_process_profile(struct ath_softc *sc,
++ struct ath_mci_profile_info *info)
+ {
+ struct ath_common *common = ath9k_hw_common(sc->sc_ah);
+ struct ath_btcoex *btcoex = &sc->btcoex;
+@@ -261,8 +261,8 @@ void ath_mci_process_profile(struct ath_
+ ath_mci_update_scheme(sc);
+ }
+
+-void ath_mci_process_status(struct ath_softc *sc,
+- struct ath_mci_profile_status *status)
++static void ath_mci_process_status(struct ath_softc *sc,
++ struct ath_mci_profile_status *status)
+ {
+ struct ath_common *common = ath9k_hw_common(sc->sc_ah);
+ struct ath_btcoex *btcoex = &sc->btcoex;
+--- a/drivers/net/wireless/ath/ath9k/mci.h
++++ b/drivers/net/wireless/ath/ath9k/mci.h
+@@ -128,10 +128,6 @@ struct ath_mci_coex {
+ };
+
+ void ath_mci_flush_profile(struct ath_mci_profile *mci);
+-void ath_mci_process_profile(struct ath_softc *sc,
+- struct ath_mci_profile_info *info);
+-void ath_mci_process_status(struct ath_softc *sc,
+- struct ath_mci_profile_status *status);
+ int ath_mci_setup(struct ath_softc *sc);
+ void ath_mci_cleanup(struct ath_softc *sc);
+ void ath_mci_intr(struct ath_softc *sc);