summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ethoc.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-07-12 21:33:06 +0200
committerDavid S. Miller <davem@davemloft.net>2012-07-17 07:38:27 +0200
commit7efd26d0db5917b9e53d72e76e52338b2600ae20 (patch)
tree3a9b9bec98380b2ef02f6441e7304b7255884a1c /drivers/net/ethernet/ethoc.c
parentetherdevice: Rename random_ether_addr to eth_random_addr (diff)
downloadlinux-7efd26d0db5917b9e53d72e76e52338b2600ae20.tar.xz
linux-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/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)
/* 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;
}