summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-zx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pwm/pwm-zx.c')
-rw-r--r--drivers/pwm/pwm-zx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-zx.c b/drivers/pwm/pwm-zx.c
index e24f4be35316..e2c21cc34a96 100644
--- a/drivers/pwm/pwm-zx.c
+++ b/drivers/pwm/pwm-zx.c
@@ -148,7 +148,7 @@ static int zx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
}
static int zx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
- struct pwm_state *state)
+ const struct pwm_state *state)
{
struct zx_pwm_chip *zpc = to_zx_pwm_chip(chip);
struct pwm_state cstate;