summaryrefslogtreecommitdiff
path: root/drivers/adc/stm32-adc-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/adc/stm32-adc-core.c')
-rw-r--r--drivers/adc/stm32-adc-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/adc/stm32-adc-core.c b/drivers/adc/stm32-adc-core.c
index f20c46fb36..6c176961f1 100644
--- a/drivers/adc/stm32-adc-core.c
+++ b/drivers/adc/stm32-adc-core.c
@@ -209,5 +209,5 @@ U_BOOT_DRIVER(stm32_adc_core) = {
.id = UCLASS_SIMPLE_BUS,
.of_match = stm32_adc_core_ids,
.probe = stm32_adc_core_probe,
- .priv_auto_alloc_size = sizeof(struct stm32_adc_common),
+ .priv_auto = sizeof(struct stm32_adc_common),
};