aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/sandbox.c')
-rw-r--r--drivers/block/sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/sandbox.c b/drivers/block/sandbox.c
index cca2237136a..e5ef260cf2b 100644
--- a/drivers/block/sandbox.c
+++ b/drivers/block/sandbox.c
@@ -228,7 +228,7 @@ U_BOOT_DRIVER(sandbox_host_blk) = {
.name = "sandbox_host_blk",
.id = UCLASS_BLK,
.ops = &sandbox_host_blk_ops,
- .platdata_auto_alloc_size = sizeof(struct host_block_dev),
+ .platdata_auto = sizeof(struct host_block_dev),
};
#else
U_BOOT_LEGACY_BLK(sandbox_host) = {