]> Pileus Git - ~andy/linux/blobdiff - drivers/net/wireless/ath/ath9k/hw-ops.h
Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
[~andy/linux] / drivers / net / wireless / ath / ath9k / hw-ops.h
index a78d48c3ad2193297a3abe251fdf3f42ca87964d..83f4927aeacae1d07a2b18057ea313ad716b0cec 100644 (file)
@@ -78,12 +78,16 @@ static inline void ath9k_hw_antdiv_comb_conf_set(struct ath_hw *ah,
        ath9k_hw_ops(ah)->antdiv_comb_conf_set(ah, antconf);
 }
 
+#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT
+
 static inline void ath9k_hw_set_bt_ant_diversity(struct ath_hw *ah, bool enable)
 {
        if (ath9k_hw_ops(ah)->set_bt_ant_diversity)
                ath9k_hw_ops(ah)->set_bt_ant_diversity(ah, enable);
 }
 
+#endif
+
 /* Private hardware call ops */
 
 /* PHY ops */