summaryrefslogtreecommitdiff
path: root/drivers/virtio/virtio_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/virtio/virtio_net.c')
-rw-r--r--drivers/virtio/virtio_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_net.c b/drivers/virtio/virtio_net.c
index e1831cf961..b32ce3c1b1 100644
--- a/drivers/virtio/virtio_net.c
+++ b/drivers/virtio/virtio_net.c
@@ -234,6 +234,6 @@ U_BOOT_DRIVER(virtio_net) = {
.remove = virtio_reset,
.ops = &virtio_net_ops,
.priv_auto = sizeof(struct virtio_net_priv),
- .platdata_auto = sizeof(struct eth_pdata),
+ .plat_auto = sizeof(struct eth_pdata),
.flags = DM_FLAG_ACTIVE_DMA,
};