aboutsummaryrefslogtreecommitdiff
path: root/drivers/virtio/virtio_rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/virtio/virtio_rng.c')
-rw-r--r--drivers/virtio/virtio_rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_rng.c b/drivers/virtio/virtio_rng.c
index fc3e19cfaee..9314c0a03ed 100644
--- a/drivers/virtio/virtio_rng.c
+++ b/drivers/virtio/virtio_rng.c
@@ -84,6 +84,6 @@ U_BOOT_DRIVER(virtio_rng) = {
.probe = virtio_rng_probe,
.remove = virtio_reset,
.ops = &virtio_rng_ops,
- .priv_auto_alloc_size = sizeof(struct virtio_rng_priv),
+ .priv_auto = sizeof(struct virtio_rng_priv),
.flags = DM_FLAG_ACTIVE_DMA,
};