summaryrefslogtreecommitdiff
path: root/drivers/power/pmic/pmic-uclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/pmic/pmic-uclass.c')
-rw-r--r--drivers/power/pmic/pmic-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/pmic/pmic-uclass.c b/drivers/power/pmic/pmic-uclass.c
index 7770171917..79166b8bbc 100644
--- a/drivers/power/pmic/pmic-uclass.c
+++ b/drivers/power/pmic/pmic-uclass.c
@@ -196,5 +196,5 @@ UCLASS_DRIVER(pmic) = {
.id = UCLASS_PMIC,
.name = "pmic",
.pre_probe = pmic_pre_probe,
- .per_device_auto_alloc_size = sizeof(struct uc_pmic_priv),
+ .per_device_auto = sizeof(struct uc_pmic_priv),
};