aboutsummaryrefslogtreecommitdiffstats
path: root/arch/c6x
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-07-13 01:33:12 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-17 01:39:25 -0400
commit6e5928f6dfd92a47c489bb735c4cb8bbb62038e0 (patch)
tree95f49ca2c94bfee44f85882fe58aecf10a6b35e1 /arch/c6x
parent006c9139f7a90d3419381a59ac76f42612f94c14 (diff)
arch: 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> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/c6x')
-rw-r--r--arch/c6x/kernel/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/c6x/kernel/soc.c b/arch/c6x/kernel/soc.c
index 0748c94ebef6..3ac74080fded 100644
--- a/arch/c6x/kernel/soc.c
+++ b/arch/c6x/kernel/soc.c
@@ -80,7 +80,7 @@ int soc_mac_addr(unsigned int index, u8 *addr)
80 if (have_fuse_mac) 80 if (have_fuse_mac)
81 memcpy(addr, c6x_fuse_mac, 6); 81 memcpy(addr, c6x_fuse_mac, 6);
82 else 82 else
83 random_ether_addr(addr); 83 eth_random_addr(addr);
84 } 84 }
85 85
86 /* adjust for specific EMAC device */ 86 /* adjust for specific EMAC device */