summaryrefslogtreecommitdiff
path: root/drivers/net/usb/usbnet.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-07-12 23:33:07 +0400
committerDavid S. Miller <davem@davemloft.net>2012-07-17 09:38:28 +0400
commitc7e12ead5f92413234b3d9f4f35ae56734decd21 (patch)
tree19cb3338bbf650aedb05ccfa85992faefc5f46b1 /drivers/net/usb/usbnet.c
parent7efd26d0db5917b9e53d72e76e52338b2600ae20 (diff)
downloadlinux-c7e12ead5f92413234b3d9f4f35ae56734decd21.tar.xz
net: 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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/usbnet.c')
-rw-r--r--drivers/net/usb/usbnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c
index e92c057f794a..8531c1caac28 100644
--- a/drivers/net/usb/usbnet.c
+++ b/drivers/net/usb/usbnet.c
@@ -1593,7 +1593,7 @@ static int __init usbnet_init(void)
BUILD_BUG_ON(
FIELD_SIZEOF(struct sk_buff, cb) < sizeof(struct skb_data));
- random_ether_addr(node_id);
+ eth_random_addr(node_id);
return 0;
}
module_init(usbnet_init);