diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2013-08-06 03:14:15 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-08-09 15:57:53 -0400 |
commit | 36e8825e65c0b1d9511feceb6c464d8925e7c791 (patch) | |
tree | 0eb3fd308aaf54c6c567024297479f9487c8daa3 /drivers/net/wireless/ath/ath9k/hw.h | |
parent | 562fc5b30f228d4a8c1dad90c82897a5440d7a0b (diff) |
ath9k: Fix build failure
Make sure that CONFIG_ATH9K_BTCOEX_SUPPORT is used for
the WLAN/BT RX diversity hooks.
Reported by the kernel build testing backend.
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/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 38f461c11c33..64ff8e61c243 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -719,11 +719,14 @@ struct ath_hw_ops { | |||
719 | struct ath_hw_antcomb_conf *antconf); | 719 | struct ath_hw_antcomb_conf *antconf); |
720 | void (*antdiv_comb_conf_set)(struct ath_hw *ah, | 720 | void (*antdiv_comb_conf_set)(struct ath_hw *ah, |
721 | struct ath_hw_antcomb_conf *antconf); | 721 | struct ath_hw_antcomb_conf *antconf); |
722 | void (*set_bt_ant_diversity)(struct ath_hw *hw, bool enable); | ||
723 | void (*spectral_scan_config)(struct ath_hw *ah, | 722 | void (*spectral_scan_config)(struct ath_hw *ah, |
724 | struct ath_spec_scan *param); | 723 | struct ath_spec_scan *param); |
725 | void (*spectral_scan_trigger)(struct ath_hw *ah); | 724 | void (*spectral_scan_trigger)(struct ath_hw *ah); |
726 | void (*spectral_scan_wait)(struct ath_hw *ah); | 725 | void (*spectral_scan_wait)(struct ath_hw *ah); |
726 | |||
727 | #ifdef CONFIG_ATH9K_BTCOEX_SUPPORT | ||
728 | void (*set_bt_ant_diversity)(struct ath_hw *hw, bool enable); | ||
729 | #endif | ||
727 | }; | 730 | }; |
728 | 731 | ||
729 | struct ath_nf_limits { | 732 | struct ath_nf_limits { |