Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 059393c5 authored by Marc Zyngier's avatar Marc Zyngier Committed by Thomas Gleixner
Browse files

irqchip/gic-v3: Add missing struct device_node declaration



When the GICv3 header file is used in a C file that doesn't include
any of the OF stuff, we end up with a bunch of ugly warnings.

Let's keep GCC quiet by adding a forward declaration.

Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Cc: <linux-arm-kernel@lists.infradead.org>
Cc: Jason Cooper <jason@lakedaemon.net>
Link: http://lkml.kernel.org/r/1449483072-17694-2-git-send-email-marc.zyngier@arm.com


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 849ee3d4
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -330,6 +330,7 @@ struct rdists {
};
};


struct irq_domain;
struct irq_domain;
struct device_node;
int its_cpu_init(void);
int its_cpu_init(void);
int its_init(struct device_node *node, struct rdists *rdists,
int its_init(struct device_node *node, struct rdists *rdists,
	     struct irq_domain *domain);
	     struct irq_domain *domain);