aboutsummaryrefslogtreecommitdiff
path: root/drivers/core/syscon-uclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/core/syscon-uclass.c')
-rw-r--r--drivers/core/syscon-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/syscon-uclass.c b/drivers/core/syscon-uclass.c
index 567d0a4b50a..823d0731640 100644
--- a/drivers/core/syscon-uclass.c
+++ b/drivers/core/syscon-uclass.c
@@ -174,7 +174,7 @@ void *syscon_get_first_range(ulong driver_data)
UCLASS_DRIVER(syscon) = {
.id = UCLASS_SYSCON,
.name = "syscon",
- .per_device_auto_alloc_size = sizeof(struct syscon_uc_info),
+ .per_device_auto = sizeof(struct syscon_uc_info),
.pre_probe = syscon_pre_probe,
};