summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
-rw-r--r--drivers/pwm/pwm-stm32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-stm32.c b/drivers/pwm/pwm-stm32.c
index 740e2dec8313..359b08596d9e 100644
--- a/drivers/pwm/pwm-stm32.c
+++ b/drivers/pwm/pwm-stm32.c
@@ -440,7 +440,7 @@ static void stm32_pwm_disable(struct stm32_pwm *priv, int ch)
440} 440}
441 441
442static int stm32_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 442static int stm32_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
443 struct pwm_state *state) 443 const struct pwm_state *state)
444{ 444{
445 bool enabled; 445 bool enabled;
446 struct stm32_pwm *priv = to_stm32_pwm_dev(chip); 446 struct stm32_pwm *priv = to_stm32_pwm_dev(chip);
@@ -468,7 +468,7 @@ static int stm32_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
468} 468}
469 469
470static int stm32_pwm_apply_locked(struct pwm_chip *chip, struct pwm_device *pwm, 470static int stm32_pwm_apply_locked(struct pwm_chip *chip, struct pwm_device *pwm,
471 struct pwm_state *state) 471 const struct pwm_state *state)
472{ 472{
473 struct stm32_pwm *priv = to_stm32_pwm_dev(chip); 473 struct stm32_pwm *priv = to_stm32_pwm_dev(chip);
474 int ret; 474 int ret;