aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/mci.h
diff options
context:
space:
mode:
authorSujith Manoharan2012-06-04 16:27:19 +0530
committerJohn W. Linville2012-06-06 15:20:24 -0400
commite270e776a0985511146555e79edbe53539809adb (patch)
tree572a64737379ed58f0a6b8944e1ffa64c6750fd7 /drivers/net/wireless/ath/ath9k/mci.h
parentd09f5f4cfb9f4c6aa8c18ea522e824660d4096d7 (diff)
ath9k: Setup MCI interrupts properly
MCI interrupts have to be enabled only when BTCOEX is actually in use. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mci.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/mci.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mci.h b/drivers/net/wireless/ath/ath9k/mci.h
index c841444f53c2..fc14eea034eb 100644
--- a/drivers/net/wireless/ath/ath9k/mci.h
+++ b/drivers/net/wireless/ath/ath9k/mci.h
@@ -130,4 +130,13 @@ void ath_mci_flush_profile(struct ath_mci_profile *mci);
int ath_mci_setup(struct ath_softc *sc);
void ath_mci_cleanup(struct ath_softc *sc);
void ath_mci_intr(struct ath_softc *sc);
-#endif
+
+#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT
+void ath_mci_enable(struct ath_softc *sc);
+#else
+static inline void ath_mci_enable(struct ath_softc *sc)
+{
+}
+#endif /* CONFIG_ATH9K_BTCOEX_SUPPORT */
+
+#endif /* MCI_H*/