]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/karo/tx28/tx28.c
net: cosmetic: Name ethaddr variables consistently
[karo-tx-uboot.git] / board / karo / tx28 / tx28.c
index 2e7ec77a1057fa15228f3d1afbdf5259eb499d82..9a60d2939d7b607647bcf91b84249fa75e609fea 100644 (file)
@@ -241,7 +241,7 @@ static int fec_get_mac_addr(int index)
                        val = readl(&cust[index * 8 + i]);
                mac[i] = val >> shift;
        }
-       if (!is_valid_ether_addr(mac)) {
+       if (!is_valid_ethaddr(mac)) {
                if (index == 0)
                        printf("No valid MAC address programmed\n");
                return 0;