Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751246AbdHRJa7 (ORCPT ); Fri, 18 Aug 2017 05:30:59 -0400 Received: from terminus.zytor.com ([65.50.211.136]:38803 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751075AbdHRJa6 (ORCPT ); Fri, 18 Aug 2017 05:30:58 -0400 Date: Fri, 18 Aug 2017 02:27:41 -0700 From: tip-bot for David Daney Message-ID: Cc: hpa@zytor.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, marc.zyngier@arm.com, david.daney@cavium.com, mingo@kernel.org, gnurou@gmail.com, mark.rutland@arm.com, linus.walleij@linaro.org Reply-To: linus.walleij@linaro.org, mingo@kernel.org, mark.rutland@arm.com, gnurou@gmail.com, david.daney@cavium.com, linux-kernel@vger.kernel.org, marc.zyngier@arm.com, tglx@linutronix.de, hpa@zytor.com In-Reply-To: <1503017616-3252-2-git-send-email-david.daney@cavium.com> References: <1503017616-3252-2-git-send-email-david.daney@cavium.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/core] genirq: Export more irq_chip_*_parent() functions Git-Commit-ID: 65efd9a49af8174b2283fd5b27e9edf30e4483d0 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 Content-Length: 1921 Lines: 57 Commit-ID: 65efd9a49af8174b2283fd5b27e9edf30e4483d0 Gitweb: http://git.kernel.org/tip/65efd9a49af8174b2283fd5b27e9edf30e4483d0 Author: David Daney AuthorDate: Thu, 17 Aug 2017 17:53:30 -0700 Committer: Thomas Gleixner CommitDate: Fri, 18 Aug 2017 11:21:40 +0200 genirq: Export more irq_chip_*_parent() functions Many of the family of functions including irq_chip_mask_parent(), irq_chip_unmask_parent() are exported, but not all. Add EXPORT_SYMBOL_GPL to irq_chip_enable_parent, irq_chip_disable_parent and irq_chip_set_affinity_parent, so they likewise are usable from modules. Signed-off-by: David Daney Signed-off-by: Thomas Gleixner Cc: Mark Rutland Cc: Alexandre Courbot Cc: Marc Zyngier Cc: Linus Walleij Cc: linux-gpio@vger.kernel.org Link: http://lkml.kernel.org/r/1503017616-3252-2-git-send-email-david.daney@cavium.com --- kernel/irq/chip.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index a3cc37c..6514f07 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -1105,6 +1105,7 @@ void irq_chip_enable_parent(struct irq_data *data) else data->chip->irq_unmask(data); } +EXPORT_SYMBOL_GPL(irq_chip_enable_parent); /** * irq_chip_disable_parent - Disable the parent interrupt (defaults to mask if @@ -1119,6 +1120,7 @@ void irq_chip_disable_parent(struct irq_data *data) else data->chip->irq_mask(data); } +EXPORT_SYMBOL_GPL(irq_chip_disable_parent); /** * irq_chip_ack_parent - Acknowledge the parent interrupt @@ -1181,6 +1183,7 @@ int irq_chip_set_affinity_parent(struct irq_data *data, return -ENOSYS; } +EXPORT_SYMBOL_GPL(irq_chip_set_affinity_parent); /** * irq_chip_set_type_parent - Set IRQ type on the parent interrupt