]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/pwm/pwm-imx27.c
drivers/base/memory.c: don't access uninitialized memmaps in soft_offline_page_store()
[linux.git] / drivers / pwm / pwm-imx27.c
index 91c23cbbc1677c4789b9459fc6ae3db5c8a1fc82..ae11d8577f1866030173c8e47d513d12da590aae 100644 (file)
@@ -209,7 +209,7 @@ static void pwm_imx27_wait_fifo_slot(struct pwm_chip *chip,
 }
 
 static int pwm_imx27_apply(struct pwm_chip *chip, struct pwm_device *pwm,
-                          struct pwm_state *state)
+                          const struct pwm_state *state)
 {
        unsigned long period_cycles, duty_cycles, prescale;
        struct pwm_imx27_chip *imx = to_pwm_imx27_chip(chip);