]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/pwm/pwm-sifive.c
Merge tag 'selinux-pr-20191007' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / drivers / pwm / pwm-sifive.c
index bb4f02ce4f94712e8e15851b07abfcded8a9f552..cc63f9baa481942f03e8a8228ce0b312ae15be25 100644 (file)
@@ -147,7 +147,7 @@ static int pwm_sifive_enable(struct pwm_chip *chip, bool enable)
 }
 
 static int pwm_sifive_apply(struct pwm_chip *chip, struct pwm_device *pwm,
-                           struct pwm_state *state)
+                           const struct pwm_state *state)
 {
        struct pwm_sifive_ddata *ddata = pwm_sifive_chip_to_ddata(chip);
        struct pwm_state cur_state;