summaryrefslogtreecommitdiff
path: root/drivers/power/acpi_pmc/sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/acpi_pmc/sandbox.c')
-rw-r--r--drivers/power/acpi_pmc/sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/acpi_pmc/sandbox.c b/drivers/power/acpi_pmc/sandbox.c
index 48a6c663bd..6cb7af10c2 100644
--- a/drivers/power/acpi_pmc/sandbox.c
+++ b/drivers/power/acpi_pmc/sandbox.c
@@ -94,5 +94,5 @@ U_BOOT_DRIVER(pmc_sandbox) = {
.of_match = sandbox_pmc_ids,
.probe = sandbox_pmc_probe,
.ops = &sandbox_pmc_ops,
- .priv_auto_alloc_size = sizeof(struct sandbox_pmc_priv),
+ .priv_auto = sizeof(struct sandbox_pmc_priv),
};