diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-12-22 13:45:50 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:09:11 -0500 |
commit | 0e5ce1f33049a823f508f4a3f53ba186b12396b8 (patch) | |
tree | 1bd83ce139e0531d38947d1aa95670f5eca3b826 /drivers/net/wireless/iwlwifi/iwl4965-base.c | |
parent | 5b5e807fb8b56e31319fe8b27e1b072bb80862a8 (diff) |
misc wireless annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 5a9fa42f999b..ce0574b087fb 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -1648,7 +1648,7 @@ static void get_eeprom_mac(struct iwl4965_priv *priv, u8 *mac) | |||
1648 | */ | 1648 | */ |
1649 | int iwl4965_eeprom_init(struct iwl4965_priv *priv) | 1649 | int iwl4965_eeprom_init(struct iwl4965_priv *priv) |
1650 | { | 1650 | { |
1651 | u16 *e = (u16 *)&priv->eeprom; | 1651 | __le16 *e = (__le16 *)&priv->eeprom; |
1652 | u32 gp = iwl4965_read32(priv, CSR_EEPROM_GP); | 1652 | u32 gp = iwl4965_read32(priv, CSR_EEPROM_GP); |
1653 | u32 r; | 1653 | u32 r; |
1654 | int sz = sizeof(priv->eeprom); | 1654 | int sz = sizeof(priv->eeprom); |
@@ -1692,7 +1692,7 @@ int iwl4965_eeprom_init(struct iwl4965_priv *priv) | |||
1692 | rc = -ETIMEDOUT; | 1692 | rc = -ETIMEDOUT; |
1693 | goto done; | 1693 | goto done; |
1694 | } | 1694 | } |
1695 | e[addr / 2] = le16_to_cpu(r >> 16); | 1695 | e[addr / 2] = cpu_to_le16(r >> 16); |
1696 | } | 1696 | } |
1697 | rc = 0; | 1697 | rc = 0; |
1698 | 1698 | ||