]> Pileus Git - ~andy/linux/blobdiff - drivers/net/wireless/ath/ath9k/hw.h
ath9k: Fix build failure
[~andy/linux] / drivers / net / wireless / ath / ath9k / hw.h
index 38f461c11c3326dc7c6e51f8daed5143216a868c..64ff8e61c243b06a3b724a16eb0f29a8a953dce1 100644 (file)
@@ -719,11 +719,14 @@ struct ath_hw_ops {
                        struct ath_hw_antcomb_conf *antconf);
        void (*antdiv_comb_conf_set)(struct ath_hw *ah,
                        struct ath_hw_antcomb_conf *antconf);
-       void (*set_bt_ant_diversity)(struct ath_hw *hw, bool enable);
        void (*spectral_scan_config)(struct ath_hw *ah,
                                     struct ath_spec_scan *param);
        void (*spectral_scan_trigger)(struct ath_hw *ah);
        void (*spectral_scan_wait)(struct ath_hw *ah);
+
+#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT
+       void (*set_bt_ant_diversity)(struct ath_hw *hw, bool enable);
+#endif
 };
 
 struct ath_nf_limits {