diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2015-12-07 10:11:11 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-12-10 19:13:26 +0100 |
commit | 059393c5bdd1420bdf1bed2972f33196dff263ae (patch) | |
tree | 6946dc71fc113710a25ce6ff04c8d19b94d773c9 | |
parent | 849ee3d46a7334e950fb17d1ac2cbe2c6b088f65 (diff) | |
download | linux-059393c5bdd1420bdf1bed2972f33196dff263ae.tar.gz linux-059393c5bdd1420bdf1bed2972f33196dff263ae.tar.bz2 linux-059393c5bdd1420bdf1bed2972f33196dff263ae.zip |
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: Marc 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: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | include/linux/irqchip/arm-gic-v3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/irqchip/arm-gic-v3.h b/include/linux/irqchip/arm-gic-v3.h index c9ae0c6ec050..d5d798b35c1f 100644 --- a/include/linux/irqchip/arm-gic-v3.h +++ b/include/linux/irqchip/arm-gic-v3.h @@ -330,6 +330,7 @@ struct rdists { }; struct irq_domain; +struct device_node; int its_cpu_init(void); int its_init(struct device_node *node, struct rdists *rdists, struct irq_domain *domain); |