From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755326AbbLJSQg (ORCPT ); Thu, 10 Dec 2015 13:16:36 -0500 Received: from terminus.zytor.com ([198.137.202.10]:33778 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754122AbbLJSQd (ORCPT ); Thu, 10 Dec 2015 13:16:33 -0500 Date: Thu, 10 Dec 2015 10:15:47 -0800 From: tip-bot for Marc Zyngier Message-ID: Cc: tglx@linutronix.de, marc.zyngier@arm.com, linux-arm-kernel@lists.infradead.org, jason@lakedaemon.net, linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@kernel.org Reply-To: linux-kernel@vger.kernel.org, jason@lakedaemon.net, mingo@kernel.org, hpa@zytor.com, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, marc.zyngier@arm.com In-Reply-To: <1449483072-17694-2-git-send-email-marc.zyngier@arm.com> References: <1449483072-17694-2-git-send-email-marc.zyngier@arm.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/urgent] irqchip/gic-v3: Add missing struct device_node declaration Git-Commit-ID: 059393c5bdd1420bdf1bed2972f33196dff263ae X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 059393c5bdd1420bdf1bed2972f33196dff263ae Gitweb: http://git.kernel.org/tip/059393c5bdd1420bdf1bed2972f33196dff263ae Author: Marc Zyngier AuthorDate: Mon, 7 Dec 2015 10:11:11 +0000 Committer: Thomas Gleixner 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 Cc: Cc: Jason Cooper Link: http://lkml.kernel.org/r/1449483072-17694-2-git-send-email-marc.zyngier@arm.com Signed-off-by: Thomas Gleixner --- 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);