summaryrefslogtreecommitdiff
path: root/drivers/adc/stm32-adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/adc/stm32-adc.c')
-rw-r--r--drivers/adc/stm32-adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/adc/stm32-adc.c b/drivers/adc/stm32-adc.c
index 3f0ed48846..2c6984f2aa 100644
--- a/drivers/adc/stm32-adc.c
+++ b/drivers/adc/stm32-adc.c
@@ -258,5 +258,5 @@ U_BOOT_DRIVER(stm32_adc) = {
.of_match = stm32_adc_ids,
.probe = stm32_adc_probe,
.ops = &stm32_adc_ops,
- .priv_auto_alloc_size = sizeof(struct stm32_adc),
+ .priv_auto = sizeof(struct stm32_adc),
};