]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/karo/txa5/txa5.c
net: cosmetic: Name ethaddr variables consistently
[karo-tx-uboot.git] / board / karo / txa5 / txa5.c
index ce40c1cc28e073532960c7a49dc8b77a7fdeb49e..dd5ba89529e727c4e3189b6d9e1ee78a6212098e 100644 (file)
@@ -272,7 +272,7 @@ static void txa5_init_mac(void)
        mac_addr[4] = mac_lo & 0xFF;
        mac_addr[5] = (mac_lo >> 8) & 0xFF;
 
-       if (!is_valid_ether_addr(mac_addr)) {
+       if (!is_valid_ethaddr(mac_addr)) {
                printf("No valid MAC address programmed\n");
                return;
        }