aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-03-06 16:31:01 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-03-07 13:56:34 -0500
commit7559553660da6cda3aa798c4e8eb681b63402819 (patch)
tree3fafa92380595058d056f8637fdc35a63cd1773e /drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h
parent13df1aab4aa3cd99693c0cdeb7177e5359218431 (diff)
iwlwifi: move irq to PCIe
Even if the variable might also be used by other transports, there's no need for anything outside of the transport itself to access it, so move it into the private area. Signed-off-by: Johannes Berg <johannes.berg@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-pcie-int.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h
index 93f49acac31..d13b8d1f08f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h
+++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h
@@ -231,6 +231,7 @@ struct iwl_tx_queue {
231 * @rxq: all the RX queue data 231 * @rxq: all the RX queue data
232 * @rx_replenish: work that will be called when buffers need to be allocated 232 * @rx_replenish: work that will be called when buffers need to be allocated
233 * @trans: pointer to the generic transport area 233 * @trans: pointer to the generic transport area
234 * @irq - the irq number for the device
234 * @irq_requested: true when the irq has been requested 235 * @irq_requested: true when the irq has been requested
235 * @scd_base_addr: scheduler sram base address in SRAM 236 * @scd_base_addr: scheduler sram base address in SRAM
236 * @scd_bc_tbls: pointer to the byte count table of the scheduler 237 * @scd_bc_tbls: pointer to the byte count table of the scheduler
@@ -262,6 +263,7 @@ struct iwl_trans_pcie {
262 struct tasklet_struct irq_tasklet; 263 struct tasklet_struct irq_tasklet;
263 struct isr_statistics isr_stats; 264 struct isr_statistics isr_stats;
264 265
266 unsigned int irq;
265 spinlock_t irq_lock; 267 spinlock_t irq_lock;
266 u32 inta_mask; 268 u32 inta_mask;
267 u32 scd_base_addr; 269 u32 scd_base_addr;