usb: Use eth_random_addr
[platform/kernel/linux-rpi.git] / drivers / usb / atm / xusbatm.c
index 14ec9f0..b3b1bb7 100644 (file)
@@ -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;
 }