diff options
author | Joe Perches <joe@perches.com> | 2012-07-13 07:33:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-17 07:39:25 +0200 |
commit | 6e5928f6dfd92a47c489bb735c4cb8bbb62038e0 (patch) | |
tree | 95f49ca2c94bfee44f85882fe58aecf10a6b35e1 /arch/mips/ar7 | |
parent | usb: Use eth_random_addr (diff) | |
download | linux-6e5928f6dfd92a47c489bb735c4cb8bbb62038e0.tar.xz linux-6e5928f6dfd92a47c489bb735c4cb8bbb62038e0.zip |
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/mips/ar7')
-rw-r--r-- | arch/mips/ar7/platform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/ar7/platform.c b/arch/mips/ar7/platform.c index 1a24d317e7a3..1bbc24b08685 100644 --- a/arch/mips/ar7/platform.c +++ b/arch/mips/ar7/platform.c @@ -310,10 +310,10 @@ static void __init cpmac_get_mac(int instance, unsigned char *dev_addr) &dev_addr[4], &dev_addr[5]) != 6) { pr_warning("cannot parse mac address, " "using random address\n"); - random_ether_addr(dev_addr); + eth_random_addr(dev_addr); } } else - random_ether_addr(dev_addr); + eth_random_addr(dev_addr); } /***************************************************************************** |