From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Subject: Re: [PATCH] mfd: tps65217: Drop call to irq_set_parent() Date: Wed, 26 Oct 2016 14:38:55 +0200 (CEST) Message-ID: References: <1476479886-10208-1-git-send-email-linux@roeck-us.net> <20161026123516.GC11267@dell> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20161026123516.GC11267@dell> Sender: linux-kernel-owner@vger.kernel.org To: Lee Jones Cc: Guenter Roeck , Tony Lindgren , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Marcin Niestroj , Arnd Bergmann List-Id: linux-omap@vger.kernel.org On Wed, 26 Oct 2016, Lee Jones wrote: > On Fri, 14 Oct 2016, Guenter Roeck wrote: > > > The call to irq_set_parent() causes the following build error if tps65217 > > is built as module. > > > > ERROR: ".irq_set_parent" [drivers/mfd/tps65217.ko] undefined! > > > > The problem was introduced with commit 6556bdacf646f ("mfd: tps65217: Add > > support for IRQs"). > > > > The author states: "I have added irq_set_parent() similarly as in > > drivers/base/regmap/regmap-irq.c. But to be honest I am not sure what it > > really does in case of tps65217." > > > > So let's drop it. > > > > Fixes: 6556bdacf646f ("mfd: tps65217: Add support for IRQs") > > Cc: Marcin Niestroj > > Cc: Arnd Bergmann > > Cc: Thomas Gleixner > > Signed-off-by: Guenter Roeck > > --- > > drivers/mfd/tps65217.c | 1 - > > 1 file changed, 1 deletion(-) > > This has been fixed now. It was not fixed. The export was a work around as everyone was bitching about the build robots failing forever. So if the irq_set_parent() call is not required for functionality of the driver then it should not be there in the first place. Thanks, tglx