提交 6459f987 编写于 作者: E Emmanuel Grumbach 提交者: Wey-Yi Guy

iwlwifi: rename iwl_remove to iwl_op_mode_dvm_stop

iwl_remove stops the wifi flows, so rename.
Moreover, we can possibly stop the wifi flows even if the driver
is statically compiled in the kernel, so remove the __devexit pragma.
Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
上级 07590f08
......@@ -1331,7 +1331,7 @@ int iwl_op_mode_dvm_start(struct iwl_bus *bus,
return err;
}
void __devexit iwl_remove(struct iwl_priv * priv)
void iwl_op_mode_dvm_stop(struct iwl_priv *priv)
{
wait_for_completion(&nic(priv)->request_firmware_complete);
......
......@@ -94,7 +94,7 @@ int iwl_drv_start(struct iwl_shared *shrd,
void iwl_drv_stop(struct iwl_shared *shrd)
{
iwl_remove(shrd->priv);
iwl_op_mode_dvm_stop(shrd->priv);
kfree(shrd->nic);
}
......
......@@ -535,7 +535,7 @@ enum iwl_rxon_context_id {
int iwl_op_mode_dvm_start(struct iwl_bus *bus,
const struct iwl_trans_ops *trans_ops,
struct iwl_cfg *cfg);
void __devexit iwl_remove(struct iwl_priv * priv);
void iwl_op_mode_dvm_stop(struct iwl_priv *priv);
struct iwl_device_cmd;
int __must_check iwl_rx_dispatch(struct iwl_priv *priv,
struct iwl_rx_mem_buffer *rxb,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册