diff options
author | Joe Perches <joe@perches.com> | 2012-07-12 15:33:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-17 01:38:27 -0400 |
commit | 7efd26d0db5917b9e53d72e76e52338b2600ae20 (patch) | |
tree | 3a9b9bec98380b2ef02f6441e7304b7255884a1c /drivers/net/ethernet/ethoc.c | |
parent | 0a4dd594982a321699000218715e28664ec49169 (diff) |
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) | |||
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 | ||