net: add rte prefix to ether defines
[dpdk.git] / drivers / bus / dpaa / base / fman / fman.c
index 06762e0..00f751c 100644 (file)
@@ -314,7 +314,7 @@ fman_if_init(const struct device_node *dpa_node)
                         mname);
                goto err;
        }
-       memcpy(&__if->__if.mac_addr, mac_addr, ETHER_ADDR_LEN);
+       memcpy(&__if->__if.mac_addr, mac_addr, RTE_ETHER_ADDR_LEN);
 
        /* Extract the Tx port (it's the second of the two port handles)
         * and get its channel ID