diff options
author | Joe Perches <joe@perches.com> | 2012-07-13 01:33:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-17 01:39:25 -0400 |
commit | 6e5928f6dfd92a47c489bb735c4cb8bbb62038e0 (patch) | |
tree | 95f49ca2c94bfee44f85882fe58aecf10a6b35e1 /arch/blackfin | |
parent | 006c9139f7a90d3419381a59ac76f42612f94c14 (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/blackfin')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index c9d9473a5ab2..5ed654ae66e1 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -873,7 +873,7 @@ static struct adf702x_platform_data adf7021_platform_data = { | |||
873 | }; | 873 | }; |
874 | static inline void adf702x_mac_init(void) | 874 | static inline void adf702x_mac_init(void) |
875 | { | 875 | { |
876 | random_ether_addr(adf7021_platform_data.mac_addr); | 876 | eth_random_addr(adf7021_platform_data.mac_addr); |
877 | } | 877 | } |
878 | #else | 878 | #else |
879 | static inline void adf702x_mac_init(void) {} | 879 | static inline void adf702x_mac_init(void) {} |