ethernet: make use of eth_hw_addr_random() where appropriate
[linux-2.6-microblaze.git] / drivers / net / ethernet / hisilicon / hip04_eth.c
index 37b605f..c84ef49 100644 (file)
@@ -998,7 +998,7 @@ static int hip04_mac_probe(struct platform_device *pdev)
                hip04_config_port(ndev, SPEED_100, DUPLEX_FULL);
 
        hip04_config_fifo(priv);
-       eth_random_addr(ndev->dev_addr);
+       eth_hw_addr_random(ndev);
        hip04_update_mac_address(ndev);
 
        ret = hip04_alloc_ring(ndev, d);