From 89dae91a4a72079f5b2adaff1a42249a82d138df Mon Sep 17 00:00:00 2001 From: Ulrich Ölmann Date: Tue, 10 Jul 2018 11:50:03 +0200 Subject: Documentation: state: add unit name to state variable in DT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Starting with DT compiler version 1.4.6 (included since v2018.07.0) one gets warnings : node has a reg or ranges property, but no unit name if the first address field of a reg-property is not taken as the unit name for its parent node. Signed-off-by: Ulrich Ölmann Signed-off-by: Sascha Hauer --- Documentation/user/state.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/user/state.rst b/Documentation/user/state.rst index 843705bdb6..89129add77 100644 --- a/Documentation/user/state.rst +++ b/Documentation/user/state.rst @@ -475,7 +475,7 @@ content, its backend-type and *state* variable set layout. backend-storage-type = "circular"; backend-stridesize = <32>; - variable { + variable@0 { reg = <0x0 0x1>; type ="uint8"; default = <0x1>; @@ -524,7 +524,7 @@ content, its backend-type and *state* variable layout. backend = <&backend_state_nand>; backend-storage-type = "circular"; - variable { + variable@0 { reg = <0x0 0x1>; type ="uint8"; default = <0x1>; @@ -566,7 +566,7 @@ content, its backend-type and *state* variable layout. backend = <&backend_state_sd>; backend-stridesize = <0x40>; - variable { + variable@0 { reg = <0x0 0x1>; type ="uint8"; default = <0x1>; @@ -614,7 +614,7 @@ content, its backend-type and *state* variable layout. backend-storage-type = "direct"; backend-stridesize = <32>; - variable { + variable@0 { reg = <0x0 0x1>; type ="uint8"; default = <0x1>; @@ -668,7 +668,7 @@ content, its backend-type and *state* variable layout. backend-storage-type = "direct"; backend-stridesize = <32>; - variable { + variable@0 { reg = <0x0 0x1>; type ="uint8"; default = <0x1>; -- cgit v1.2.3