diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-09-10 19:55:11 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 16:39:28 -0400 |
commit | e5aa847489e543e33a7c72898e72183871ce2916 (patch) | |
tree | e9b2efd90abd3c7e9f02039e8f6b2f1a15d89335 /drivers/net/wireless/ath/ath5k/base.h | |
parent | 9adca126dbf4bf099bc7051deb6b566725a046dc (diff) |
ath5k: define ath_common ops
Only common ath read/write ops go through the common ops.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.h')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.h b/drivers/net/wireless/ath/ath5k/base.h index 005d25f2e130..b14ba07e9157 100644 --- a/drivers/net/wireless/ath/ath5k/base.h +++ b/drivers/net/wireless/ath/ath5k/base.h | |||
@@ -201,15 +201,4 @@ struct ath5k_softc { | |||
201 | #define ath5k_hw_hasveol(_ah) \ | 201 | #define ath5k_hw_hasveol(_ah) \ |
202 | (ath5k_hw_get_capability(_ah, AR5K_CAP_VEOL, 0, NULL) == 0) | 202 | (ath5k_hw_get_capability(_ah, AR5K_CAP_VEOL, 0, NULL) == 0) |
203 | 203 | ||
204 | static inline struct ath_common *ath5k_hw_common(struct ath5k_hw *ah) | ||
205 | { | ||
206 | return &ah->common; | ||
207 | } | ||
208 | |||
209 | static inline struct ath_regulatory *ath5k_hw_regulatory(struct ath5k_hw *ah) | ||
210 | { | ||
211 | return &(ath5k_hw_common(ah)->regulatory); | ||
212 | |||
213 | } | ||
214 | |||
215 | #endif | 204 | #endif |