Commit 06e03f8c authored by Don Fry's avatar Don Fry Committed by Wey-Yi Guy

iwlwifi: changes args to iwl_nic for firmware operations

Remove the references to iwl_priv from the firmware request and
parsing routines.  They are generic to the nic.
Signed-off-by: default avatarDon Fry <donald.h.fry@intel.com>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
parent 69655ebf
...@@ -1262,7 +1262,7 @@ int iwl_probe(struct iwl_bus *bus, const struct iwl_trans_ops *trans_ops, ...@@ -1262,7 +1262,7 @@ int iwl_probe(struct iwl_bus *bus, const struct iwl_trans_ops *trans_ops,
init_completion(&nic(priv)->request_firmware_complete); init_completion(&nic(priv)->request_firmware_complete);
err = iwl_request_firmware(priv, true); err = iwl_request_firmware(nic(priv), true);
if (err) if (err)
goto out_destroy_workqueue; goto out_destroy_workqueue;
......
This diff is collapsed.
...@@ -218,8 +218,4 @@ struct iwl_fw { ...@@ -218,8 +218,4 @@ struct iwl_fw {
bool enhance_sensitivity_table; bool enhance_sensitivity_table;
}; };
struct iwl_priv;
int __must_check iwl_request_firmware(struct iwl_priv *priv, bool first);
#endif /* __iwl_ucode_h__ */ #endif /* __iwl_ucode_h__ */
...@@ -95,6 +95,7 @@ struct iwl_nic { ...@@ -95,6 +95,7 @@ struct iwl_nic {
}; };
int __must_check iwl_request_firmware(struct iwl_nic *nic, bool first);
void iwl_dealloc_ucode(struct iwl_nic *nic); void iwl_dealloc_ucode(struct iwl_nic *nic);
int iwl_send_bt_env(struct iwl_trans *trans, u8 action, u8 type); int iwl_send_bt_env(struct iwl_trans *trans, u8 action, u8 type);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment