kernel: use eth_random_addr instead of random_ether_addr
[openwrt/staging/ldir.git] / target / linux / generic / files / drivers / bcma / fallback-sprom.c
index ce93560a4829b9ea26b9e21ab6d2eb57761ea853..db583fca9cc2a7cbfd77f2967d26eee5d17d33f9 100644 (file)
@@ -494,7 +494,7 @@ static int bcma_fbs_probe(struct platform_device *pdev)
        if (is_valid_ether_addr(mac)) {
                dev_info(dev, "mtd mac %pM\n", mac);
        } else {
-               random_ether_addr(mac);
+               eth_random_addr(mac);
                dev_info(dev, "random mac %pM\n", mac);
        }