This patch fixes the following DTC warning with W=1:

"Node /memory has a reg or ranges property, but no unit name"

Signed-off-by: Jisheng Zhang <[email protected]>
---
 arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts 
b/arch/arm/boot/dts/berlin2q-marvell-dmp.dts
index 33b2875..f485308 100644
--- a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts
+++ b/arch/arm/boot/dts/berlin2q-marvell-dmp.dts
@@ -43,7 +43,7 @@
        model = "Marvell BG2-Q DMP";
        compatible = "marvell,berlin2q-dmp", "marvell,berlin2q", 
"marvell,berlin";
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0x00000000 0x80000000>;
        };
-- 
2.9.3

Reply via email to