summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mipsnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/mipsnet.c')
-rw-r--r--drivers/net/ethernet/mipsnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mipsnet.c b/drivers/net/ethernet/mipsnet.c
index dbc666a3d523..db5285befe2a 100644
--- a/drivers/net/ethernet/mipsnet.c
+++ b/drivers/net/ethernet/mipsnet.c
@@ -281,7 +281,7 @@ static int __devinit mipsnet_probe(struct platform_device *dev)
* Lacking any better mechanism to allocate a MAC address we use a
* random one ...
*/
- random_ether_addr(netdev->dev_addr);
+ eth_hw_addr_random(netdev);
err = register_netdev(netdev);
if (err) {