summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/pwm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pwm.h b/include/pwm.h
index 911c760839..3dce285913 100644
--- a/include/pwm.h
+++ b/include/pwm.h
@@ -66,7 +66,7 @@ struct pwm_ops {
struct pwm_chip {
int id;
const char *devname;
- struct pwm_ops *ops;
+ const struct pwm_ops *ops;
int duty_ns;
int period_ns;
};