Commit-ID:  059393c5bdd1420bdf1bed2972f33196dff263ae
Gitweb:     http://git.kernel.org/tip/059393c5bdd1420bdf1bed2972f33196dff263ae
Author:     Marc Zyngier <marc.zyng...@arm.com>
AuthorDate: Mon, 7 Dec 2015 10:11:11 +0000
Committer:  Thomas Gleixner <t...@linutronix.de>
CommitDate: Thu, 10 Dec 2015 19:13:26 +0100

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.zyng...@arm.com>
Cc: <linux-arm-ker...@lists.infradead.org>
Cc: Jason Cooper <ja...@lakedaemon.net>
Link: 
http://lkml.kernel.org/r/1449483072-17694-2-git-send-email-marc.zyng...@arm.com
Signed-off-by: Thomas Gleixner <t...@linutronix.de>
---
 include/linux/irqchip/arm-gic-v3.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/irqchip/arm-gic-v3.h 
b/include/linux/irqchip/arm-gic-v3.h
index c9ae0c6..d5d798b 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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to