ath9k: disable bluetooth coexistence support to reduce module size
[openwrt/openwrt.git] / package / mac80211 / patches / 570-ath9k_mci_static.patch
1 --- a/drivers/net/wireless/ath/ath9k/mci.c
2 +++ b/drivers/net/wireless/ath/ath9k/mci.c
3 @@ -234,8 +234,8 @@ static void ath_mci_cal_msg(struct ath_s
4 }
5 }
6
7 -void ath_mci_process_profile(struct ath_softc *sc,
8 - struct ath_mci_profile_info *info)
9 +static void ath_mci_process_profile(struct ath_softc *sc,
10 + struct ath_mci_profile_info *info)
11 {
12 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
13 struct ath_btcoex *btcoex = &sc->btcoex;
14 @@ -261,8 +261,8 @@ void ath_mci_process_profile(struct ath_
15 ath_mci_update_scheme(sc);
16 }
17
18 -void ath_mci_process_status(struct ath_softc *sc,
19 - struct ath_mci_profile_status *status)
20 +static void ath_mci_process_status(struct ath_softc *sc,
21 + struct ath_mci_profile_status *status)
22 {
23 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
24 struct ath_btcoex *btcoex = &sc->btcoex;
25 --- a/drivers/net/wireless/ath/ath9k/mci.h
26 +++ b/drivers/net/wireless/ath/ath9k/mci.h
27 @@ -128,10 +128,6 @@ struct ath_mci_coex {
28 };
29
30 void ath_mci_flush_profile(struct ath_mci_profile *mci);
31 -void ath_mci_process_profile(struct ath_softc *sc,
32 - struct ath_mci_profile_info *info);
33 -void ath_mci_process_status(struct ath_softc *sc,
34 - struct ath_mci_profile_status *status);
35 int ath_mci_setup(struct ath_softc *sc);
36 void ath_mci_cleanup(struct ath_softc *sc);
37 void ath_mci_intr(struct ath_softc *sc);