aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ethoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/ethoc.c')
-rw-r--r--drivers/net/ethernet/ethoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ethoc.c b/drivers/net/ethernet/ethoc.c
index 20297881f8eb..94b7bfcdb24e 100644
--- a/drivers/net/ethernet/ethoc.c
+++ b/drivers/net/ethernet/ethoc.c
@@ -1057,7 +1057,7 @@ static int __devinit ethoc_probe(struct platform_device *pdev)
1057 /* Check the MAC again for validity, if it still isn't choose and 1057 /* Check the MAC again for validity, if it still isn't choose and
1058 * program a random one. */ 1058 * program a random one. */
1059 if (!is_valid_ether_addr(netdev->dev_addr)) { 1059 if (!is_valid_ether_addr(netdev->dev_addr)) {
1060 random_ether_addr(netdev->dev_addr); 1060 eth_random_addr(netdev->dev_addr);
1061 random_mac = true; 1061 random_mac = true;
1062 } 1062 }
1063 1063