diff options
Diffstat (limited to 'drivers/pwm/pwm-cros-ec.c')
-rw-r--r-- | drivers/pwm/pwm-cros-ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-cros-ec.c b/drivers/pwm/pwm-cros-ec.c index 98f6ac6cf6ab..db5faa79c33f 100644 --- a/drivers/pwm/pwm-cros-ec.c +++ b/drivers/pwm/pwm-cros-ec.c | |||
@@ -93,7 +93,7 @@ static int cros_ec_pwm_get_duty(struct cros_ec_device *ec, u8 index) | |||
93 | } | 93 | } |
94 | 94 | ||
95 | static int cros_ec_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, | 95 | static int cros_ec_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, |
96 | struct pwm_state *state) | 96 | const struct pwm_state *state) |
97 | { | 97 | { |
98 | struct cros_ec_pwm_device *ec_pwm = pwm_to_cros_ec_pwm(chip); | 98 | struct cros_ec_pwm_device *ec_pwm = pwm_to_cros_ec_pwm(chip); |
99 | int duty_cycle; | 99 | int duty_cycle; |