summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-02-18 08:36:45 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-02-18 08:36:45 +0100
commit23c49023191715dc7d3f3e9e6376d321918ad892 (patch)
tree223f081f81d961a4cbffeab5c7a704d4b20b0e86 /include
parentb8ed83076ffdc2c6831061003afaecf8ba802aab (diff)
parent122b607841b1db922fb272bcdffcc28c225e88d0 (diff)
downloadbarebox-23c49023191715dc7d3f3e9e6376d321918ad892.tar.gz
barebox-23c49023191715dc7d3f3e9e6376d321918ad892.tar.xz
Merge branch 'for-next/pwm'
Diffstat (limited to 'include')
-rw-r--r--include/pwm.h2
-rw-r--r--include/regmap.h3
2 files changed, 4 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;
};
diff --git a/include/regmap.h b/include/regmap.h
index 09b7b57d52..049ac0210e 100644
--- a/include/regmap.h
+++ b/include/regmap.h
@@ -37,6 +37,9 @@ struct regmap_bus {
regmap_hw_reg_read reg_read;
};
+struct device_d;
+struct device_node;
+
struct regmap *regmap_init(struct device_d *dev,
const struct regmap_bus *bus,
void *bus_context,