summaryrefslogtreecommitdiff
path: root/drivers/demo/demo-shape.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/demo/demo-shape.c')
-rw-r--r--drivers/demo/demo-shape.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/demo/demo-shape.c b/drivers/demo/demo-shape.c
index 8686c99845..0f5cda23dd 100644
--- a/drivers/demo/demo-shape.c
+++ b/drivers/demo/demo-shape.c
@@ -193,6 +193,6 @@ U_BOOT_DRIVER(demo_shape_drv) = {
.ops = &shape_ops,
.probe = dm_shape_probe,
.remove = dm_shape_remove,
- .priv_auto_alloc_size = sizeof(struct shape_data),
- .platdata_auto_alloc_size = sizeof(struct dm_demo_pdata),
+ .priv_auto = sizeof(struct shape_data),
+ .platdata_auto = sizeof(struct dm_demo_pdata),
};