diff options
author | Joe Perches <joe@perches.com> | 2012-07-12 19:33:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-16 22:38:27 -0700 |
commit | 7efd26d0db5917b9e53d72e76e52338b2600ae20 (patch) | |
tree | 3a9b9bec98380b2ef02f6441e7304b7255884a1c /drivers/net/ethernet/wiznet/w5100.c | |
parent | 0a4dd594982a321699000218715e28664ec49169 (diff) | |
download | linux-stable-7efd26d0db5917b9e53d72e76e52338b2600ae20.tar.gz linux-stable-7efd26d0db5917b9e53d72e76e52338b2600ae20.tar.bz2 linux-stable-7efd26d0db5917b9e53d72e76e52338b2600ae20.zip |
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/wiznet/w5100.c')
-rw-r--r-- | drivers/net/ethernet/wiznet/w5100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/wiznet/w5100.c b/drivers/net/ethernet/wiznet/w5100.c index a75e9ef5a4ce..a5826a3111a6 100644 --- a/drivers/net/ethernet/wiznet/w5100.c +++ b/drivers/net/ethernet/wiznet/w5100.c @@ -637,7 +637,7 @@ static int __devinit w5100_hw_probe(struct platform_device *pdev) if (data && is_valid_ether_addr(data->mac_addr)) { memcpy(ndev->dev_addr, data->mac_addr, ETH_ALEN); } else { - random_ether_addr(ndev->dev_addr); + eth_random_addr(ndev->dev_addr); ndev->addr_assign_type |= NET_ADDR_RANDOM; } |