aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/cros_ec_pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pwm/cros_ec_pwm.c')
-rw-r--r--drivers/pwm/cros_ec_pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/cros_ec_pwm.c b/drivers/pwm/cros_ec_pwm.c
index 44f4105dfd5..4a39c319aa2 100644
--- a/drivers/pwm/cros_ec_pwm.c
+++ b/drivers/pwm/cros_ec_pwm.c
@@ -80,5 +80,5 @@ U_BOOT_DRIVER(cros_ec_pwm) = {
.id = UCLASS_PWM,
.of_match = cros_ec_pwm_ids,
.ops = &cros_ec_pwm_ops,
- .priv_auto_alloc_size = sizeof(struct cros_ec_pwm_priv),
+ .priv_auto = sizeof(struct cros_ec_pwm_priv),
};