kernel: update 3.14 to 3.14.18
[openwrt/openwrt.git] / target / linux / sunxi / patches-3.14 / 137-3-dt-sun7i-add-interrupt-cells.patch
1 From eda34c0692e479dd9cd2b7cb70986ae57f15187f Mon Sep 17 00:00:00 2001
2 From: Chen-Yu Tsai <wens@csie.org>
3 Date: Tue, 7 Jan 2014 18:50:01 +0800
4 Subject: [PATCH] ARM: dts: sun7i: Add #interrupt-cells to pinctrl node
5
6 The pinctrl device is also an interrupt controller for external
7 interrupts. Add the missing #interrupt-cells property.
8
9 Also remove the unused #address-cells property.
10
11 Signed-off-by: Chen-Yu Tsai <wens@csie.org>
12 ---
13 arch/arm/boot/dts/sun7i-a20.dtsi | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
17 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
18 @@ -424,7 +424,7 @@
19 clocks = <&apb0_gates 5>;
20 gpio-controller;
21 interrupt-controller;
22 - #address-cells = <1>;
23 + #interrupt-cells = <2>;
24 #size-cells = <0>;
25 #gpio-cells = <3>;
26