]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/ethernet/ethoc.c
Merge branches 'arch-frv', 'arch-powerpc', 'arch-s390' and 'no-rebases' into for...
[karo-tx-linux.git] / drivers / net / ethernet / ethoc.c
index 20297881f8ebdf00d7749e1039f68072ca618d55..94b7bfcdb24e4a2fb3d9639a9f053c6186bfef87 100644 (file)
@@ -1057,7 +1057,7 @@ static int __devinit ethoc_probe(struct platform_device *pdev)
        /* Check the MAC again for validity, if it still isn't choose and
         * program a random one. */
        if (!is_valid_ether_addr(netdev->dev_addr)) {
-               random_ether_addr(netdev->dev_addr);
+               eth_random_addr(netdev->dev_addr);
                random_mac = true;
        }