summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/cp_intc.c
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2016-02-29 16:33:26 -0600
committerSekhar Nori <nsekhar@ti.com>2016-04-14 12:09:50 +0530
commit9a7f2fc8408fdc0e3b417f670c17ed70d5d1c114 (patch)
treed09510deb50c30447493e68e1b48422c87808ccb /arch/arm/mach-davinci/cp_intc.c
parent9fb69a27e938ca1079c16c213f5e8c8d90d6e2f3 (diff)
downloadtalos-obmc-linux-9a7f2fc8408fdc0e3b417f670c17ed70d5d1c114.tar.gz
talos-obmc-linux-9a7f2fc8408fdc0e3b417f670c17ed70d5d1c114.zip
ARM: davinci: use IRQCHIP_DECLARE for cp_intc
Remove boilerplate code by using IRQCHIP_DECLARE macro. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/cp_intc.c')
-rw-r--r--arch/arm/mach-davinci/cp_intc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/cp_intc.c b/arch/arm/mach-davinci/cp_intc.c
index 1a68d2477de6..94085d21018e 100644
--- a/arch/arm/mach-davinci/cp_intc.c
+++ b/arch/arm/mach-davinci/cp_intc.c
@@ -12,6 +12,7 @@
#include <linux/export.h>
#include <linux/init.h>
#include <linux/irq.h>
+#include <linux/irqchip.h>
#include <linux/irqdomain.h>
#include <linux/io.h>
#include <linux/of.h>
@@ -210,3 +211,5 @@ void __init cp_intc_init(void)
{
cp_intc_of_init(NULL, NULL);
}
+
+IRQCHIP_DECLARE(cp_intc, "ti,cp-intc", cp_intc_of_init);
OpenPOWER on IntegriCloud