diff options
Diffstat (limited to 'drivers/pwm/pwm-meson.c')
-rw-r--r-- | drivers/pwm/pwm-meson.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-meson.c b/drivers/pwm/pwm-meson.c index 3cbff5cbb789..6245bbdb6e6c 100644 --- a/drivers/pwm/pwm-meson.c +++ b/drivers/pwm/pwm-meson.c | |||
@@ -159,7 +159,7 @@ static void meson_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) | |||
159 | } | 159 | } |
160 | 160 | ||
161 | static int meson_pwm_calc(struct meson_pwm *meson, struct pwm_device *pwm, | 161 | static int meson_pwm_calc(struct meson_pwm *meson, struct pwm_device *pwm, |
162 | struct pwm_state *state) | 162 | const struct pwm_state *state) |
163 | { | 163 | { |
164 | struct meson_pwm_channel *channel = pwm_get_chip_data(pwm); | 164 | struct meson_pwm_channel *channel = pwm_get_chip_data(pwm); |
165 | unsigned int duty, period, pre_div, cnt, duty_cnt; | 165 | unsigned int duty, period, pre_div, cnt, duty_cnt; |
@@ -265,7 +265,7 @@ static void meson_pwm_disable(struct meson_pwm *meson, struct pwm_device *pwm) | |||
265 | } | 265 | } |
266 | 266 | ||
267 | static int meson_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, | 267 | static int meson_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, |
268 | struct pwm_state *state) | 268 | const struct pwm_state *state) |
269 | { | 269 | { |
270 | struct meson_pwm_channel *channel = pwm_get_chip_data(pwm); | 270 | struct meson_pwm_channel *channel = pwm_get_chip_data(pwm); |
271 | struct meson_pwm *meson = to_meson_pwm(chip); | 271 | struct meson_pwm *meson = to_meson_pwm(chip); |