OSDN Git Service

arm64: dts: marvell: use mvebu-icu.h where possible
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 2 Jan 2018 14:55:55 +0000 (15:55 +0100)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 5 Jan 2018 16:02:39 +0000 (17:02 +0100)
Back when the ICU Device Tree binding was introduced, we could not use
mvebu-icu.h from the Device Tree files, because the DT files and
mvebu-icu.h were following different merge routes towards Linus
tree. Now that both have been merged, we can switch the Marvell Armada
CP110 Device Tree files to use the mvebu-icu.h header instead of
duplicating the ICU_GRP_NSR definition.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi

index 9361bac..d9e73a9 100644 (file)
@@ -44,7 +44,7 @@
  * Device Tree file for Marvell Armada CP110 Master.
  */
 
-#define ICU_GRP_NSR 0x0
+#include <dt-bindings/interrupt-controller/mvebu-icu.h>
 
 / {
        cp110-master {
index 64848a1..06340c7 100644 (file)
@@ -44,7 +44,7 @@
  * Device Tree file for Marvell Armada CP110 Slave.
  */
 
-#define ICU_GRP_NSR 0x0
+#include <dt-bindings/interrupt-controller/mvebu-icu.h>
 
 / {
        cp110-slave {