summaryrefslogtreecommitdiff
path: root/drivers/sysinfo/sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sysinfo/sandbox.c')
-rw-r--r--drivers/sysinfo/sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sysinfo/sandbox.c b/drivers/sysinfo/sandbox.c
index 62a1cb4ac6..d270a26aa4 100644
--- a/drivers/sysinfo/sandbox.c
+++ b/drivers/sysinfo/sandbox.c
@@ -102,6 +102,6 @@ U_BOOT_DRIVER(sysinfo_sandbox) = {
.id = UCLASS_SYSINFO,
.of_match = sysinfo_sandbox_ids,
.ops = &sysinfo_sandbox_ops,
- .priv_auto_alloc_size = sizeof(struct sysinfo_sandbox_priv),
+ .priv_auto = sizeof(struct sysinfo_sandbox_priv),
.probe = sysinfo_sandbox_probe,
};