projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfb12eb
)
endianness annotations: drivers/net/wireless/rtl8180_dev.c
author
Al Viro
<viro@ftp.linux.org.uk>
Sun, 16 Mar 2008 22:43:06 +0000
(22:43 +0000)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 1 Apr 2008 21:13:16 +0000
(17:13 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl8180_dev.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/rtl8180_dev.c
b/drivers/net/wireless/rtl8180_dev.c
index b1b3a478335b8d0d8fc4d88c5d00fbb6c2229b4f..c181f23e930dc96048f3b1d700434bbf92a6a26b 100644
(file)
--- 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,
rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG);
rtl818x_iowrite32(priv, (__le32 __iomem *)&priv->map->MAC[0],
-
cpu_to_le32(*(u
32 *)conf->mac_addr));
+
le32_to_cpu(*(__le
32 *)conf->mac_addr));
rtl818x_iowrite16(priv, (__le16 __iomem *)&priv->map->MAC[4],
-
cpu_to_le16(*(u
16 *)(conf->mac_addr + 4)));
+
le16_to_cpu(*(__le
16 *)(conf->mac_addr + 4)));
rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_NORMAL);
return 0;