Skip to contentSkip to conversation

dt-bindings: fix example of allwinner interrupt controller

PATCH New Baruch Siach 2 participants 2 messages Dec 11, 2013 – Dec 12, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: fix example of allwinner interrupt controller

The documented value of #interrupt-cells is 1.

---
 .../devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt +1 -1
index 3d3b2b9..32cec4b 100644
@@ -14,5 +14,5 @@ intc: interrupt-controller {
 	compatible = "allwinner,sun4i-ic";
 	reg = <0x01c20400 0x400>;
 	interrupt-controller;
-	#interrupt-cells = <2>;
+	#interrupt-cells = <1>;
 };
Signature · 1 line
1.8.5.1
#1 lore raw

PATCH 1/1 dt-bindings: fix example of allwinner interrupt controller

Hi Baruch,

Quoted 12 lines · Baruch Siach

The documented value of #interrupt-cells is 1.

---
 .../devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt +0 -0
index 3d3b2b9..32cec4b 100644

Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt intc: interrupt-controller { · line 18

Quoted 6 lines
Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt +1 -1
@@ -14,5 +14,5 @@ intc: interrupt-controller {
 	compatible = "allwinner,sun4i-ic";
 	reg = <0x01c20400 0x400>;
 	interrupt-controller;
-	#interrupt-cells = <2>;
+	#interrupt-cells = <1>;
 };

Nice catch, applied, thanks!

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131212/637a0db9/attachment.sig>