diff options
author | Reinette Chatre | 2008-01-23 19:15:19 +0100 |
---|---|---|
committer | David S. Miller | 2008-02-01 04:26:42 +0100 |
commit | 74a3a2509dccba5b4e5eb5808cc59edf2c21560b (patch) | |
tree | f59dab05b15d71e570012b99dfda28cf5749d360 /drivers/net/wireless/iwlwifi/iwl4965-base.c | |
parent | iwlwifi: initialize geo/channel information during probe (diff) | |
download | kernel-qcow2-linux-74a3a2509dccba5b4e5eb5808cc59edf2c21560b.tar.gz kernel-qcow2-linux-74a3a2509dccba5b4e5eb5808cc59edf2c21560b.tar.xz kernel-qcow2-linux-74a3a2509dccba5b4e5eb5808cc59edf2c21560b.zip |
iwlwifi: cleanup usage of inline functions
Be consistent when using inline functions. If the function only used
once we move it to where it is used - no need for externs.
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 77c635287035..c856835b1f20 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c @@ -1639,6 +1639,12 @@ static void get_eeprom_mac(struct iwl4965_priv *priv, u8 *mac) memcpy(mac, priv->eeprom.mac_address, 6); } +static inline void iwl4965_eeprom_release_semaphore(struct iwl4965_priv *priv) +{ + iwl4965_clear_bit(priv, CSR_HW_IF_CONFIG_REG, + CSR_HW_IF_CONFIG_REG_BIT_EEPROM_OWN_SEM); +} + /** * iwl4965_eeprom_init - read EEPROM contents * |