diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2011-07-10 15:39:57 +0300 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-07-21 07:29:35 -0700 |
commit | 0286cee0d2b6357e8e30d817bbce8ff166f358b5 (patch) | |
tree | 958218c4b25a816b6093f7a8fded0b1bea0c21f2 /drivers/net/wireless/iwlwifi/iwl-trans.h | |
parent | 392f8b789a4c96b39d527ff8ea5ceba20cd79d56 (diff) | |
download | lwn-0286cee0d2b6357e8e30d817bbce8ff166f358b5.tar.gz lwn-0286cee0d2b6357e8e30d817bbce8ff166f358b5.zip |
iwlagn: move iwl_prepare_card_hw to the transport layer
This function is really related to the transport layer - move it.
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h index 9e801d8963d1..fca01819f10c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans.h +++ b/drivers/net/wireless/iwlwifi/iwl-trans.h @@ -69,6 +69,11 @@ static inline int trans_start_device(struct iwl_priv *priv) return priv->trans.ops->start_device(priv); } +static inline int trans_prepare_card_hw(struct iwl_priv *priv) +{ + return priv->trans.ops->prepare_card_hw(priv); +} + static inline void trans_stop_device(struct iwl_priv *priv) { priv->trans.ops->stop_device(priv); |