diff options
Diffstat (limited to 'drivers/pwm/pwm-imx-tpm.c')
-rw-r--r-- | drivers/pwm/pwm-imx-tpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-imx-tpm.c b/drivers/pwm/pwm-imx-tpm.c index e8385c1cf342..9145f6160649 100644 --- a/drivers/pwm/pwm-imx-tpm.c +++ b/drivers/pwm/pwm-imx-tpm.c | |||
@@ -89,7 +89,7 @@ to_imx_tpm_pwm_chip(struct pwm_chip *chip) | |||
89 | static int pwm_imx_tpm_round_state(struct pwm_chip *chip, | 89 | static int pwm_imx_tpm_round_state(struct pwm_chip *chip, |
90 | struct imx_tpm_pwm_param *p, | 90 | struct imx_tpm_pwm_param *p, |
91 | struct pwm_state *real_state, | 91 | struct pwm_state *real_state, |
92 | struct pwm_state *state) | 92 | const struct pwm_state *state) |
93 | { | 93 | { |
94 | struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); | 94 | struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); |
95 | u32 rate, prescale, period_count, clock_unit; | 95 | u32 rate, prescale, period_count, clock_unit; |
@@ -289,7 +289,7 @@ static int pwm_imx_tpm_apply_hw(struct pwm_chip *chip, | |||
289 | 289 | ||
290 | static int pwm_imx_tpm_apply(struct pwm_chip *chip, | 290 | static int pwm_imx_tpm_apply(struct pwm_chip *chip, |
291 | struct pwm_device *pwm, | 291 | struct pwm_device *pwm, |
292 | struct pwm_state *state) | 292 | const struct pwm_state *state) |
293 | { | 293 | { |
294 | struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); | 294 | struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); |
295 | struct imx_tpm_pwm_param param; | 295 | struct imx_tpm_pwm_param param; |