diff --git a/drivers/moto_f_usbnet/f_usbnet.c b/drivers/moto_f_usbnet/f_usbnet.c index 4f1b5277eb6e..2131da211a85 100644 --- a/drivers/moto_f_usbnet/f_usbnet.c +++ b/drivers/moto_f_usbnet/f_usbnet.c @@ -621,7 +621,7 @@ static void usb_ether_setup(struct net_device *dev) ether_setup(dev); - random_ether_addr(dev->dev_addr); + eth_random_addr((u8 *)dev->dev_addr); } /*-------------------------------------------------------------------------*/