aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2018-05-25 18:54:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-01 11:17:05 +0200
commitf910cc46f4b164c0caeb64eb8fff93db783b9bc8 (patch)
tree3f3a477455e8b44a00e56b5b90388bf2ebda9548 /drivers/staging
parentstaging: mt7621-gpio: change lock place in irq mask and unmask functions (diff)
downloadlinux-dev-f910cc46f4b164c0caeb64eb8fff93db783b9bc8.tar.xz
linux-dev-f910cc46f4b164c0caeb64eb8fff93db783b9bc8.zip
staging: mt7621-dts: add missing properties to gpio node
In order to let other devices reference the GPIO interrupts if necessary properties 'interrupt-controller' and '#interrupt-cells' becomes necessary. Add both of them to complete gpio device tree node. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/mt7621-dts/mt7621.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/mt7621-dts/mt7621.dtsi b/drivers/staging/mt7621-dts/mt7621.dtsi
index 240d396bbb89..d7e49810f9e3 100644
--- a/drivers/staging/mt7621-dts/mt7621.dtsi
+++ b/drivers/staging/mt7621-dts/mt7621.dtsi
@@ -69,6 +69,8 @@
interrupt-parent = <&gic>;
interrupts = <GIC_SHARED 12 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
gpio0: bank@0 {
reg = <0>;