summaryrefslogtreecommitdiff
path: root/drivers/net/failsafe/failsafe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/failsafe/failsafe.c')
-rw-r--r--drivers/net/failsafe/failsafe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/failsafe/failsafe.c b/drivers/net/failsafe/failsafe.c
index 06e859e..68926ca 100644
--- a/drivers/net/failsafe/failsafe.c
+++ b/drivers/net/failsafe/failsafe.c
@@ -181,7 +181,7 @@ fs_eth_dev_create(struct rte_vdev_device *vdev)
return -1;
}
priv = PRIV(dev);
- priv->dev = dev;
+ priv->data = dev->data;
dev->dev_ops = &failsafe_ops;
dev->data->mac_addrs = &PRIV(dev)->mac_addrs[0];
dev->data->dev_link = eth_link;