diff options
author | Joe Perches <joe@perches.com> | 2012-07-12 23:33:06 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-17 09:38:27 +0400 |
commit | 7efd26d0db5917b9e53d72e76e52338b2600ae20 (patch) | |
tree | 3a9b9bec98380b2ef02f6441e7304b7255884a1c /drivers/net/ethernet/ethoc.c | |
parent | 0a4dd594982a321699000218715e28664ec49169 (diff) | |
download | linux-7efd26d0db5917b9e53d72e76e52338b2600ae20.tar.xz |
ethernet: Use eth_random_addr
Convert the existing uses of random_ether_addr to
the new eth_random_addr.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ethoc.c')
-rw-r--r-- | drivers/net/ethernet/ethoc.c | 2 |
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) /* Check the MAC again for validity, if it still isn't choose and * program a random one. */ if (!is_valid_ether_addr(netdev->dev_addr)) { - random_ether_addr(netdev->dev_addr); + eth_random_addr(netdev->dev_addr); random_mac = true; } |