diff mbox

dt-bindings: fix example of allwinner interrupt controller

Message ID bce591494e52baf5571db0c9a5a26d33d018fe49.1386765193.git.baruch@tkos.co.il (mailing list archive)
State New, archived
Headers show

Commit Message

Baruch Siach Dec. 11, 2013, 12:33 p.m. UTC
The documented value of #interrupt-cells is 1.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 .../devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Maxime Ripard Dec. 12, 2013, 1:14 p.m. UTC | #1
Hi Baruch,

On Wed, Dec 11, 2013 at 02:33:13PM +0200, Baruch Siach wrote:
> The documented value of #interrupt-cells is 1.
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>  .../devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt     | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt
> index 3d3b2b9..32cec4b 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt
> +++ b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt
> @@ -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
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt
index 3d3b2b9..32cec4b 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt
@@ -14,5 +14,5 @@  intc: interrupt-controller {
 	compatible = "allwinner,sun4i-ic";
 	reg = <0x01c20400 0x400>;
 	interrupt-controller;
-	#interrupt-cells = <2>;
+	#interrupt-cells = <1>;
 };