summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-trans.h
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2012-01-08 13:24:57 +0200
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-02-02 14:36:24 -0800
commitebb7678d00b2fa0d7db76b5303a5bf46a5aed8f3 (patch)
treeee8e3535d45746a574010014062ba896b5591b95 /drivers/net/wireless/iwlwifi/iwl-trans.h
parent57a1dc89097982874f50a0e6f68ab08f62e9e5aa (diff)
downloadblackbird-obmc-linux-ebb7678d00b2fa0d7db76b5303a5bf46a5aed8f3.tar.gz
blackbird-obmc-linux-ebb7678d00b2fa0d7db76b5303a5bf46a5aed8f3.zip
iwlwifi: move prepare_card_hw to start_hw
Kill the trans_ops->prepare_card_hw which is now useless. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-trans.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h
index ddc3a0627dd3..55b5dc3b5dd6 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans.h
+++ b/drivers/net/wireless/iwlwifi/iwl-trans.h
@@ -136,8 +136,6 @@ struct iwl_host_cmd {
* @start_hw: starts the HW- from that point on, the HW can send interrupts
* @start_device: allocates and inits all the resources for the transport
* layer.
- * @prepare_card_hw: claim the ownership on the HW. Will be called during
- * probe.
* @fw_alive: called when the fw sends alive notification
* @wake_any_queue: wake all the queues of a specfic context IWL_RXON_CTX_*
* @stop_device:stops the whole device (embedded CPU put to reset)
@@ -167,7 +165,6 @@ struct iwl_trans_ops {
int (*start_hw)(struct iwl_trans *iwl_trans);
int (*start_device)(struct iwl_trans *trans);
void (*fw_alive)(struct iwl_trans *trans);
- int (*prepare_card_hw)(struct iwl_trans *trans);
void (*stop_device)(struct iwl_trans *trans);
void (*wake_any_queue)(struct iwl_trans *trans,
@@ -284,11 +281,6 @@ static inline int iwl_trans_start_device(struct iwl_trans *trans)
return trans->ops->start_device(trans);
}
-static inline int iwl_trans_prepare_card_hw(struct iwl_trans *trans)
-{
- return trans->ops->prepare_card_hw(trans);
-}
-
static inline void iwl_trans_stop_device(struct iwl_trans *trans)
{
trans->ops->stop_device(trans);
OpenPOWER on IntegriCloud