summaryrefslogtreecommitdiff
path: root/drivers/net/enetc/enetc_ethdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/enetc/enetc_ethdev.c')
-rw-r--r--drivers/net/enetc/enetc_ethdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/enetc/enetc_ethdev.c b/drivers/net/enetc/enetc_ethdev.c
index 2f47335..e637c86 100644
--- a/drivers/net/enetc/enetc_ethdev.c
+++ b/drivers/net/enetc/enetc_ethdev.c
@@ -840,7 +840,7 @@ enetc_dev_init(struct rte_eth_dev *eth_dev)
}
/* Copy the permanent MAC address */
- ether_addr_copy((struct rte_ether_addr *)hw->mac.addr,
+ rte_ether_addr_copy((struct rte_ether_addr *)hw->mac.addr,
&eth_dev->data->mac_addrs[0]);
/* Set MTU */