]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/net/macb.c
net: cosmetic: Name ethaddr variables consistently
[karo-tx-uboot.git] / drivers / net / macb.c
index f6d388a29f5d370c36ab6a68983912c4fd170eef..d535897f684c1fa8c03cff2a967abbe4863b47d8 100644 (file)
@@ -606,7 +606,7 @@ static int macb_init(struct eth_device *netdev, bd_t *bd)
        }
 
        /* update the ethaddr */
-       if (is_valid_ether_addr(netdev->enetaddr)) {
+       if (is_valid_ethaddr(netdev->enetaddr)) {
                macb_write_hwaddr(netdev);
        } else {
                printf("%s: mac address is not valid\n", netdev->name);