diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-03-16 18:43:06 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-01 17:13:16 -0400 |
commit | 717ddc0ebdd00c233fcb1ae9a243e69f301cde24 (patch) | |
tree | 8cc36b2e5b406d72e865c1431983bb286a51d867 /drivers/net/wireless/rtl8180_dev.c | |
parent | dfb12eb70fc926562488515a9596c88b8eadc545 (diff) |
endianness annotations: drivers/net/wireless/rtl8180_dev.c
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/rtl8180_dev.c')
-rw-r--r-- | drivers/net/wireless/rtl8180_dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtl8180_dev.c b/drivers/net/wireless/rtl8180_dev.c index b1b3a478335b..c181f23e930d 100644 --- a/drivers/net/wireless/rtl8180_dev.c +++ b/drivers/net/wireless/rtl8180_dev.c | |||
@@ -688,9 +688,9 @@ static int rtl8180_add_interface(struct ieee80211_hw *dev, | |||
688 | 688 | ||
689 | rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); | 689 | rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); |
690 | rtl818x_iowrite32(priv, (__le32 __iomem *)&priv->map->MAC[0], | 690 | rtl818x_iowrite32(priv, (__le32 __iomem *)&priv->map->MAC[0], |
691 | cpu_to_le32(*(u32 *)conf->mac_addr)); | 691 | le32_to_cpu(*(__le32 *)conf->mac_addr)); |
692 | rtl818x_iowrite16(priv, (__le16 __iomem *)&priv->map->MAC[4], | 692 | rtl818x_iowrite16(priv, (__le16 __iomem *)&priv->map->MAC[4], |
693 | cpu_to_le16(*(u16 *)(conf->mac_addr + 4))); | 693 | le16_to_cpu(*(__le16 *)(conf->mac_addr + 4))); |
694 | rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_NORMAL); | 694 | rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_NORMAL); |
695 | 695 | ||
696 | return 0; | 696 | return 0; |