diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2009-08-26 11:38:46 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-28 14:40:49 -0400 |
commit | f14462c6661c6b9e91d436f7ab66b35ed52ea703 (patch) | |
tree | 9127982bad569b7798ca8d038b5a6e38e1acca40 /drivers/net/wireless/ath/ath9k/btcoex.h | |
parent | 42cc41edf24b75fc6c37c99aed6e85455687e080 (diff) |
ath9k: Move btcoex related data to a separate struct
Also define macros for wlanactive and btactive (5 & 6) gpios.
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/btcoex.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/btcoex.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/btcoex.h b/drivers/net/wireless/ath/ath9k/btcoex.h index 99542808b8ef..c80492bac768 100644 --- a/drivers/net/wireless/ath/ath9k/btcoex.h +++ b/drivers/net/wireless/ath/ath9k/btcoex.h | |||
@@ -17,6 +17,14 @@ | |||
17 | #ifndef BTCOEX_H | 17 | #ifndef BTCOEX_H |
18 | #define BTCOEX_H | 18 | #define BTCOEX_H |
19 | 19 | ||
20 | #define ATH_WLANACTIVE_GPIO 5 | ||
21 | #define ATH_BTACTIVE_GPIO 6 | ||
22 | |||
23 | struct ath_btcoex_info { | ||
24 | u8 wlanactive_gpio; | ||
25 | u8 btactive_gpio; | ||
26 | }; | ||
27 | |||
20 | void ath9k_hw_btcoex_init(struct ath_hw *ah); | 28 | void ath9k_hw_btcoex_init(struct ath_hw *ah); |
21 | void ath9k_hw_btcoex_enable(struct ath_hw *ah); | 29 | void ath9k_hw_btcoex_enable(struct ath_hw *ah); |
22 | void ath9k_hw_btcoex_disable(struct ath_hw *ah); | 30 | void ath9k_hw_btcoex_disable(struct ath_hw *ah); |