summaryrefslogtreecommitdiff
path: root/drivers/bootcount/rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bootcount/rtc.c')
-rw-r--r--drivers/bootcount/rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bootcount/rtc.c b/drivers/bootcount/rtc.c
index 076a8bb2be..483caaa80d 100644
--- a/drivers/bootcount/rtc.c
+++ b/drivers/bootcount/rtc.c
@@ -83,7 +83,7 @@ static const struct udevice_id bootcount_rtc_ids[] = {
U_BOOT_DRIVER(bootcount_rtc) = {
.name = "bootcount-rtc",
.id = UCLASS_BOOTCOUNT,
- .priv_auto_alloc_size = sizeof(struct bootcount_rtc_priv),
+ .priv_auto = sizeof(struct bootcount_rtc_priv),
.probe = bootcount_rtc_probe,
.of_match = bootcount_rtc_ids,
.ops = &bootcount_rtc_ops,