]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/phytec/pcm051/board.c
net: cosmetic: Name ethaddr variables consistently
[karo-tx-uboot.git] / board / phytec / pcm051 / board.c
index 1071662ea9e2220fdcbf439dc7673b4caaa5b658..1bf9d730e5b4eb4f50a5e946c2541b4a7455922c 100644 (file)
@@ -228,7 +228,7 @@ int board_eth_init(bd_t *bis)
                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))
                        eth_setenv_enetaddr("ethaddr", mac_addr);
                else
                        goto try_usbether;