kernel: use eth_random_addr instead of random_ether_addr
[openwrt/staging/ldir.git] / target / linux / generic / files / drivers / ssb / fallback-sprom.c
index 26f0fd2f0366385818a9e27a8a3d02922b53004c..b8a4dcedcf4f1c80dcc9a273a5827e9d7600894c 100644 (file)
@@ -705,7 +705,7 @@ static int ssb_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);
        }