diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2013-08-27 15:07:58 +0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2013-09-01 10:21:45 +0400 |
commit | 39e4086a7365b933265839090b3468c9ecc52a42 (patch) | |
tree | 77f0791971402e88770852dbb1f98c489aea7af9 /drivers/net/wireless/ath/ath10k/pci.h | |
parent | e2951f7ff8d6f94f1f3c2cab1f360de444b32ed8 (diff) | |
download | linux-39e4086a7365b933265839090b3468c9ecc52a42.tar.xz |
ath10k: use inline ce_state structure
Simplifies memory managament of ce_state.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/pci.h')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/pci.h b/drivers/net/wireless/ath/ath10k/pci.h index 153ae283b9f9..13acaf03ea8f 100644 --- a/drivers/net/wireless/ath/ath10k/pci.h +++ b/drivers/net/wireless/ath/ath10k/pci.h @@ -233,7 +233,7 @@ struct ath10k_pci { spinlock_t ce_lock; /* Map CE id to ce_state */ - struct ce_state *ce_id_to_state[CE_COUNT_MAX]; + struct ce_state ce_states[CE_COUNT_MAX]; }; static inline struct ath10k_pci *ath10k_pci_priv(struct ath10k *ar) |