summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/sandbox_pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pwm/sandbox_pwm.c')
-rw-r--r--drivers/pwm/sandbox_pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/sandbox_pwm.c b/drivers/pwm/sandbox_pwm.c
index 28988187e0..318dce7c14 100644
--- a/drivers/pwm/sandbox_pwm.c
+++ b/drivers/pwm/sandbox_pwm.c
@@ -109,5 +109,5 @@ U_BOOT_DRIVER(warm_pwm_sandbox) = {
.id = UCLASS_PWM,
.of_match = sandbox_pwm_ids,
.ops = &sandbox_pwm_ops,
- .priv_auto_alloc_size = sizeof(struct sandbox_pwm_priv),
+ .priv_auto = sizeof(struct sandbox_pwm_priv),
};