From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754546AbcJUI23 (ORCPT ); Fri, 21 Oct 2016 04:28:29 -0400 Received: from terminus.zytor.com ([198.137.202.10]:35886 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753294AbcJUI2Y (ORCPT ); Fri, 21 Oct 2016 04:28:24 -0400 Date: Fri, 21 Oct 2016 01:27:59 -0700 From: tip-bot for Sudip Mukherjee Message-ID: Cc: lee.jones@linaro.org, tglx@linutronix.de, sudip.mukherjee@codethink.co.uk, sudipm.mukherjee@gmail.com, linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@kernel.org, tony@atomide.com, m.niestroj@grinn-global.com, grygorii.strashko@ti.com Reply-To: mingo@kernel.org, hpa@zytor.com, grygorii.strashko@ti.com, m.niestroj@grinn-global.com, tony@atomide.com, tglx@linutronix.de, lee.jones@linaro.org, linux-kernel@vger.kernel.org, sudipm.mukherjee@gmail.com, sudip.mukherjee@codethink.co.uk In-Reply-To: <1475775403-27207-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1475775403-27207-1-git-send-email-sudipm.mukherjee@gmail.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/urgent] kernel/irq: Export irq_set_parent() Git-Commit-ID: 3118dac501bc0317de099db81618d589503351e1 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: 3118dac501bc0317de099db81618d589503351e1 Gitweb: http://git.kernel.org/tip/3118dac501bc0317de099db81618d589503351e1 Author: Sudip Mukherjee AuthorDate: Thu, 6 Oct 2016 23:06:43 +0530 Committer: Thomas Gleixner CommitDate: Fri, 21 Oct 2016 10:21:38 +0200 kernel/irq: Export irq_set_parent() The TPS65217 driver grew interrupt support which uses irq_set_parent(). While it's not yet clear why this is used in the first place, building the driver as a module fails with: ERROR: ".irq_set_parent" [drivers/mfd/tps65217.ko] undefined! The correctness of the driver change is still investigated, but for now it's less trouble to export irq_set_parent() than dealing with the build wreckage. [ tglx: Rewrote changelog and made the export GPL ] Fixes: 6556bdacf646 ("mfd: tps65217: Add support for IRQs") Signed-off-by: Sudip Mukherjee Cc: Sudip Mukherjee Cc: Marcin Niestroj Cc: Grygorii Strashko Cc: Tony Lindgren Cc: Lee Jones Link: http://lkml.kernel.org/r/1475775403-27207-1-git-send-email-sudipm.mukherjee@gmail.com Signed-off-by: Thomas Gleixner --- kernel/irq/manage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 0c5f1a5..9c4d304 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -721,6 +721,7 @@ int irq_set_parent(int irq, int parent_irq) irq_put_desc_unlock(desc, flags); return 0; } +EXPORT_SYMBOL_GPL(irq_set_parent); #endif /*