summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-05-09 19:59:31 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-05-09 21:22:49 +0200
commit26acf2d34737b034522f35c34cd202a5265e276f (patch)
tree9653f36332febc82b1e11a58f76b894c96c1f631
parentf8a177478c1b79e369ecc65501d9d15ff573339f (diff)
downloadbarebox-26acf2d34737b034522f35c34cd202a5265e276f.tar.gz
state: Fix example in documentation
The backend property must contain a phandle, so use a phandle in the example. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--Documentation/devicetree/bindings/barebox/barebox,state.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/barebox/barebox,state.rst b/Documentation/devicetree/bindings/barebox/barebox,state.rst
index 06a0d10..40d7bc2 100644
--- a/Documentation/devicetree/bindings/barebox/barebox,state.rst
+++ b/Documentation/devicetree/bindings/barebox/barebox,state.rst
@@ -84,7 +84,7 @@ Example::
magic = <0x27031977>;
compatible = "barebox,state";
backend-type = "raw";
- backend = &state_part;
+ backend = <&state_part>;
foo {
reg = <0x00 0x4>;