summaryrefslogtreecommitdiff
path: root/drivers/rtc/emul_rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/emul_rtc.c')
-rw-r--r--drivers/rtc/emul_rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/emul_rtc.c b/drivers/rtc/emul_rtc.c
index 7e522103fd..1dc80ca127 100644
--- a/drivers/rtc/emul_rtc.c
+++ b/drivers/rtc/emul_rtc.c
@@ -88,7 +88,7 @@ U_BOOT_DRIVER(rtc_emul) = {
.id = UCLASS_RTC,
.ops = &emul_rtc_ops,
.probe = emul_rtc_probe,
- .priv_auto_alloc_size = sizeof(struct emul_rtc),
+ .priv_auto = sizeof(struct emul_rtc),
};
U_BOOT_DEVICE(rtc_emul) = {