[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-059393c5bdd1420bdf1bed2972f33196dff263ae@git.kernel.org>
Date: Thu, 10 Dec 2015 10:15:47 -0800
From: tip-bot for Marc Zyngier <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: tglx@...utronix.de, marc.zyngier@....com,
linux-arm-kernel@...ts.infradead.org, jason@...edaemon.net,
linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...nel.org
Subject: [tip:irq/urgent] irqchip/gic-v3:
Add missing struct device_node declaration
Commit-ID: 059393c5bdd1420bdf1bed2972f33196dff263ae
Gitweb: http://git.kernel.org/tip/059393c5bdd1420bdf1bed2972f33196dff263ae
Author: Marc Zyngier <marc.zyngier@....com>
AuthorDate: Mon, 7 Dec 2015 10:11:11 +0000
Committer: Thomas Gleixner <tglx@...utronix.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.zyngier@....com>
Cc: <linux-arm-kernel@...ts.infradead.org>
Cc: Jason Cooper <jason@...edaemon.net>
Link: http://lkml.kernel.org/r/1449483072-17694-2-git-send-email-marc.zyngier@arm.com
Signed-off-by: Thomas Gleixner <tglx@...utronix.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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists