summaryrefslogtreecommitdiffstats
path: root/drivers/usb/atm/xusbatm.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-07-13 07:33:11 +0200
committerDavid S. Miller <davem@davemloft.net>2012-07-17 07:39:07 +0200
commit006c9139f7a90d3419381a59ac76f42612f94c14 (patch)
treecf468ccb609bc780f937b6fdcc18867ee5054aa3 /drivers/usb/atm/xusbatm.c
parents390: Use eth_random_addr (diff)
downloadlinux-006c9139f7a90d3419381a59ac76f42612f94c14.tar.xz
linux-006c9139f7a90d3419381a59ac76f42612f94c14.zip
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/atm/xusbatm.c')
-rw-r--r--drivers/usb/atm/xusbatm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/atm/xusbatm.c b/drivers/usb/atm/xusbatm.c
index 14ec9f0c5924..b3b1bb78b2ef 100644
--- a/drivers/usb/atm/xusbatm.c
+++ b/drivers/usb/atm/xusbatm.c
@@ -20,7 +20,7 @@
******************************************************************************/
#include <linux/module.h>
-#include <linux/etherdevice.h> /* for random_ether_addr() */
+#include <linux/etherdevice.h> /* for eth_random_addr() */
#include "usbatm.h"
@@ -163,7 +163,7 @@ static int xusbatm_atm_start(struct usbatm_data *usbatm,
atm_dbg(usbatm, "%s entered\n", __func__);
/* use random MAC as we've no way to get it from the device */
- random_ether_addr(atm_dev->esi);
+ eth_random_addr(atm_dev->esi);
return 0;
}