]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/wireless/iwlwifi/iwl-trans.h
iwlwifi: move the bus configuration to transport
[karo-tx-linux.git] / drivers / net / wireless / iwlwifi / iwl-trans.h
index b1a7af26c570107c7905d1747ad8c223f69e66cb..9a807619486855feb87df9397c72f482209081d6 100644 (file)
@@ -228,6 +228,8 @@ struct iwl_calib_result {
  * @ops - pointer to iwl_trans_ops
  * @shrd - pointer to iwl_shared which holds shared data from the upper layer
  * @hcmd_lock: protects HCMD
+ * @dev - pointer to struct device * that represents the device
+ * @irq - the irq number for the device
  * @ucode_write_complete: indicates that the ucode has been copied.
  * @ucode_rt: run time ucode image
  * @ucode_init: init ucode image
@@ -240,6 +242,9 @@ struct iwl_trans {
        struct iwl_shared *shrd;
        spinlock_t hcmd_lock;
 
+       struct device *dev;
+       unsigned int irq;
+
        u8 ucode_write_complete;        /* the image write is complete */
        struct fw_img ucode_rt;
        struct fw_img ucode_init;