Преглед изворни кода

powerpc/85xx: Fix compile issues with mpc8572ds.dts

Fix the localbus reg & range properties to respect that the top
level #address-cells and #size-cells = 2.  The original commit
(c64ef80b517680f1e228b2ee55e3ce7cd94c7fe0) did not do that.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala пре 16 година
родитељ
комит
91cac62326
1 измењених фајлова са 8 додато и 8 уклоњено
  1. 8 8
      arch/powerpc/boot/dts/mpc8572ds.dts

+ 8 - 8
arch/powerpc/boot/dts/mpc8572ds.dts

@@ -67,17 +67,17 @@
 		#address-cells = <2>;
 		#size-cells = <1>;
 		compatible = "fsl,mpc8572-elbc", "fsl,elbc", "simple-bus";
-		reg = <0xffe05000 0x1000>;
+		reg = <0 0xffe05000 0 0x1000>;
 		interrupts = <19 2>;
 		interrupt-parent = <&mpic>;
 
-		ranges = <0x0 0x0 0xe8000000 0x08000000
-			  0x1 0x0 0xe0000000 0x08000000
-			  0x2 0x0 0xffa00000 0x00040000
-			  0x3 0x0 0xffdf0000 0x00008000
-			  0x4 0x0 0xffa40000 0x00040000
-			  0x5 0x0 0xffa80000 0x00040000
-			  0x6 0x0 0xffac0000 0x00040000>;
+		ranges = <0x0 0x0 0x0 0xe8000000 0x08000000
+			  0x1 0x0 0x0 0xe0000000 0x08000000
+			  0x2 0x0 0x0 0xffa00000 0x00040000
+			  0x3 0x0 0x0 0xffdf0000 0x00008000
+			  0x4 0x0 0x0 0xffa40000 0x00040000
+			  0x5 0x0 0x0 0xffa80000 0x00040000
+			  0x6 0x0 0x0 0xffac0000 0x00040000>;
 
 		nor@0,0 {
 			#address-cells = <1>;