summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/gpio.c
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2012-02-22 12:40:44 +0530
committerJohn W. Linville <linville@tuxdriver.com>2012-02-27 14:06:35 -0500
commit4daa7760e2da9324e740f7d872970fa91c8ea6f0 (patch)
treecfd5d6988d85c8d41efd6eceef87c97107ea9273 /drivers/net/wireless/ath/ath9k/gpio.c
parentc0ac53fa5725aa9e571386d3e7249c1be50eca10 (diff)
downloadlinux-3.10-4daa7760e2da9324e740f7d872970fa91c8ea6f0.tar.gz
linux-3.10-4daa7760e2da9324e740f7d872970fa91c8ea6f0.tar.bz2
linux-3.10-4daa7760e2da9324e740f7d872970fa91c8ea6f0.zip
ath9k: Use CONFIG_ATH9K_BTCOEX_SUPPORT
This patch uses CONFIG_ATH9K_BTCOEX_SUPPORT to conditionally compile btcoex-related code in the driver core. 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/gpio.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/gpio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/gpio.c b/drivers/net/wireless/ath/ath9k/gpio.c
index e870251cdd1..77b3eb7b7a3 100644
--- a/drivers/net/wireless/ath/ath9k/gpio.c
+++ b/drivers/net/wireless/ath/ath9k/gpio.c
@@ -110,6 +110,8 @@ void ath_start_rfkill_poll(struct ath_softc *sc)
wiphy_rfkill_start_polling(sc->hw->wiphy);
}
+#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT
+
/******************/
/* BTCOEX */
/******************/
@@ -423,3 +425,5 @@ int ath9k_init_btcoex(struct ath_softc *sc)
return 0;
}
+
+#endif /* CONFIG_ATH9K_BTCOEX_SUPPORT */