Delete the old property "#address-cells" and then explicitly add it with
zero value. The value of "#size-cells" is already zero, so keep it no
change.

Signed-off-by: Zhen Lei <thunder.leiz...@huawei.com>
---
 arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts 
b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
index f1a41152e9dd70d..be88b6e551d58e9 100644
--- a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
+++ b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
@@ -224,7 +224,7 @@
 
 &ssp3 {
        /delete-property/ #address-cells;
-       /delete-property/ #size-cells;
+       #address-cells = <0>;
        spi-slave;
        status = "okay";
        ready-gpio = <&gpio 125 GPIO_ACTIVE_HIGH>;
-- 
1.8.3


Reply via email to