aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2011-08-26 02:11:09 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-29 15:30:28 -0400
commit6bb7884758965ad0afd67801f0f41cefd53d0b0c (patch)
treee23f6f1d2ef2e0cd1c6dac7bea60f94b8056479f /drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h
parent16db88ba51d669ef63c58990771a47208913152c (diff)
iwlagn: remove references to priv from the transport layer
Continue to the clean up of the priv dereferencing from the transport layer. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h b/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h
index 0e4efb0e189b..59c6b3c673e4 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h
+++ b/drivers/net/wireless/iwlwifi/iwl-trans-int-pcie.h
@@ -130,7 +130,7 @@ void iwl_rx_queue_update_write_ptr(struct iwl_trans *trans,
130/***************************************************** 130/*****************************************************
131* ICT 131* ICT
132******************************************************/ 132******************************************************/
133int iwl_reset_ict(struct iwl_priv *priv); 133int iwl_reset_ict(struct iwl_trans *trans);
134void iwl_disable_ict(struct iwl_trans *trans); 134void iwl_disable_ict(struct iwl_trans *trans);
135int iwl_alloc_isr_ict(struct iwl_trans *trans); 135int iwl_alloc_isr_ict(struct iwl_trans *trans);
136void iwl_free_isr_ict(struct iwl_trans *trans); 136void iwl_free_isr_ict(struct iwl_trans *trans);
@@ -167,12 +167,11 @@ void iwl_tx_queue_reclaim(struct iwl_trans *trans, int txq_id, int index,
167/***************************************************** 167/*****************************************************
168* Error handling 168* Error handling
169******************************************************/ 169******************************************************/
170int iwl_dump_nic_event_log(struct iwl_priv *priv, 170int iwl_dump_nic_event_log(struct iwl_trans *trans, bool full_log,
171 bool full_log, char **buf, bool display); 171 char **buf, bool display);
172int iwl_dump_fh(struct iwl_trans *trans, char **buf, bool display); 172int iwl_dump_fh(struct iwl_trans *trans, char **buf, bool display);
173void iwl_dump_csr(struct iwl_trans *trans); 173void iwl_dump_csr(struct iwl_trans *trans);
174 174
175
176static inline void iwl_disable_interrupts(struct iwl_trans *trans) 175static inline void iwl_disable_interrupts(struct iwl_trans *trans)
177{ 176{
178 clear_bit(STATUS_INT_ENABLED, &trans->shrd->status); 177 clear_bit(STATUS_INT_ENABLED, &trans->shrd->status);