projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ethernet: use eth_hw_addr_set() instead of ether_addr_copy()
[linux-2.6-microblaze.git]
/
drivers
/
net
/
ethernet
/
qualcomm
/
emac
/
emac.c
diff --git
a/drivers/net/ethernet/qualcomm/emac/emac.c
b/drivers/net/ethernet/qualcomm/emac/emac.c
index
9015a38
..
fbfabfc
100644
(file)
--- a/
drivers/net/ethernet/qualcomm/emac/emac.c
+++ b/
drivers/net/ethernet/qualcomm/emac/emac.c
@@
-550,7
+550,7
@@
static int emac_probe_resources(struct platform_device *pdev,
/* get mac address */
if (device_get_mac_address(&pdev->dev, maddr, ETH_ALEN))
- eth
er_addr_copy(netdev->dev_addr
, maddr);
+ eth
_hw_addr_set(netdev
, maddr);
else
eth_hw_addr_random(netdev);