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
/
socionext
/
netsec.c
diff --git
a/drivers/net/ethernet/socionext/netsec.c
b/drivers/net/ethernet/socionext/netsec.c
index
f80a2ae
..
c7e56dc
100644
(file)
--- a/
drivers/net/ethernet/socionext/netsec.c
+++ b/
drivers/net/ethernet/socionext/netsec.c
@@
-2036,7
+2036,7
@@
static int netsec_probe(struct platform_device *pdev)
mac = device_get_mac_address(&pdev->dev, macbuf, sizeof(macbuf));
if (mac)
- eth
er_addr_copy(ndev->dev_addr
, mac);
+ eth
_hw_addr_set(ndev
, mac);
if (priv->eeprom_base &&
(!mac || !is_valid_ether_addr(ndev->dev_addr))) {