aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/tile
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-07-12 15:33:06 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-17 01:38:27 -0400
commit7efd26d0db5917b9e53d72e76e52338b2600ae20 (patch)
tree3a9b9bec98380b2ef02f6441e7304b7255884a1c /drivers/net/ethernet/tile
parent0a4dd594982a321699000218715e28664ec49169 (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/tile')
-rw-r--r--drivers/net/ethernet/tile/tilegx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/tile/tilegx.c b/drivers/net/ethernet/tile/tilegx.c
index 83b4b388ad49..7f500288f6b3 100644
--- a/drivers/net/ethernet/tile/tilegx.c
+++ b/drivers/net/ethernet/tile/tilegx.c
@@ -1844,7 +1844,7 @@ static void tile_net_dev_init(const char *name, const uint8_t *mac)
1844 memcpy(dev->dev_addr, mac, 6); 1844 memcpy(dev->dev_addr, mac, 6);
1845 dev->addr_len = 6; 1845 dev->addr_len = 6;
1846 } else { 1846 } else {
1847 random_ether_addr(dev->dev_addr); 1847 eth_random_addr(dev->dev_addr);
1848 } 1848 }
1849 1849
1850 /* Register the network device. */ 1850 /* Register the network device. */