From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756517AbbJIPX0 (ORCPT ); Fri, 9 Oct 2015 11:23:26 -0400 Received: from terminus.zytor.com ([198.137.202.10]:48691 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755424AbbJIPW2 (ORCPT ); Fri, 9 Oct 2015 11:22:28 -0400 Date: Fri, 9 Oct 2015 08:22:13 -0700 From: tip-bot for Marc Zyngier Message-ID: Cc: tglx@linutronix.de, hpa@zytor.com, mingo@kernel.org, jiang.liu@linux.intel.com, linux-kernel@vger.kernel.org, marc.zyngier@arm.com, jason@lakedaemon.net Reply-To: tglx@linutronix.de, hpa@zytor.com, jiang.liu@linux.intel.com, mingo@kernel.org, linux-kernel@vger.kernel.org, marc.zyngier@arm.com, jason@lakedaemon.net In-Reply-To: <1444402211-1141-1-git-send-email-marc.zyngier@arm.com> References: <1444402211-1141-1-git-send-email-marc.zyngier@arm.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/urgent] irqdomain: Add an accessor for the of_node field Git-Commit-ID: 10abc7df9277a81971924a6c03f74e86d799daf1 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: 10abc7df9277a81971924a6c03f74e86d799daf1 Gitweb: http://git.kernel.org/tip/10abc7df9277a81971924a6c03f74e86d799daf1 Author: Marc Zyngier AuthorDate: Fri, 9 Oct 2015 15:50:11 +0100 Committer: Thomas Gleixner CommitDate: Fri, 9 Oct 2015 17:17:30 +0200 irqdomain: Add an accessor for the of_node field As we're about to remove the of_node field from the irqdomain structure, introduce an accessor for it. Subsequent patches will take care of the actual repainting. Signed-off-by: Marc Zyngier Cc: Jiang Liu Cc: Jason Cooper Link: http://lkml.kernel.org/r/1444402211-1141-1-git-send-email-marc.zyngier@arm.com Signed-off-by: Thomas Gleixner --- include/linux/irqdomain.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index d3ca792..f644fdb 100644 --- a/include/linux/irqdomain.h +++ b/include/linux/irqdomain.h @@ -161,6 +161,11 @@ enum { IRQ_DOMAIN_FLAG_NONCORE = (1 << 16), }; +static inline struct device_node *irq_domain_get_of_node(struct irq_domain *d) +{ + return d->of_node; +} + #ifdef CONFIG_IRQ_DOMAIN struct irq_domain *__irq_domain_add(struct device_node *of_node, int size, irq_hw_number_t hwirq_max, int direct_max,