diff options
author | Joe Perches <joe@perches.com> | 2012-07-12 22:33:11 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-16 22:39:07 -0700 |
commit | 006c9139f7a90d3419381a59ac76f42612f94c14 (patch) | |
tree | cf468ccb609bc780f937b6fdcc18867ee5054aa3 /drivers/usb/gadget/u_ether.c | |
parent | 1833611d4efe4b99bb346aec40b827410a4de2e5 (diff) | |
download | op-kernel-dev-006c9139f7a90d3419381a59ac76f42612f94c14.zip op-kernel-dev-006c9139f7a90d3419381a59ac76f42612f94c14.tar.gz |
usb: 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: Felipe Balbi <balbi@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/gadget/u_ether.c')
-rw-r--r-- | drivers/usb/gadget/u_ether.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c index 47cf48b..b9e1925 100644 --- a/drivers/usb/gadget/u_ether.c +++ b/drivers/usb/gadget/u_ether.c @@ -724,7 +724,7 @@ static int get_ether_addr(const char *str, u8 *dev_addr) if (is_valid_ether_addr(dev_addr)) return 0; } - random_ether_addr(dev_addr); + eth_random_addr(dev_addr); return 1; } |