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>
This commit is contained in:

committed by
Sekhar Nori

parent
9fb69a27e9
commit
9a7f2fc840
@@ -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);
|
||||
|
Reference in New Issue
Block a user