summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2019-09-23 10:18:49 +0200
committerMark Brown <broonie@kernel.org>2019-09-23 23:20:39 +0200
commit58283636a5a03e64ad5d03bd282e3b66dcfa2c49 (patch)
tree3f37607a0163054402864dd7e58c2c043aeb0dc8 /Documentation
parentregulator: fixed: Prevent NULL pointer dereference when !CONFIG_OF (diff)
downloadlinux-58283636a5a03e64ad5d03bd282e3b66dcfa2c49.tar.xz
linux-58283636a5a03e64ad5d03bd282e3b66dcfa2c49.zip
dt-bindings: fixed-regulator: fix compatible enum
Remove 'const:' in the compatible enum. This was breaking make dt_binding_check since it has more than one compatible string. Fixes: 9c86d003d620 ("dt-bindings: regulator: add regulator-fixed-clock binding") Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Link: https://lore.kernel.org/r/20190923081840.23391-1-philippe.schenker@toradex.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/regulator/fixed-regulator.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
index a78150c47aa2..f32416968197 100644
--- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
@@ -30,8 +30,8 @@ if:
properties:
compatible:
enum:
- - const: regulator-fixed
- - const: regulator-fixed-clock
+ - regulator-fixed
+ - regulator-fixed-clock
regulator-name: true