summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/u_ether.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-07-12 22:33:11 -0700
committerDavid S. Miller <davem@davemloft.net>2012-07-16 22:39:07 -0700
commit006c9139f7a90d3419381a59ac76f42612f94c14 (patch)
treecf468ccb609bc780f937b6fdcc18867ee5054aa3 /drivers/usb/gadget/u_ether.c
parent1833611d4efe4b99bb346aec40b827410a4de2e5 (diff)
downloadop-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.c2
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;
}
OpenPOWER on IntegriCloud