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