Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756320AbbHZNQe (ORCPT ); Wed, 26 Aug 2015 09:16:34 -0400 Received: from mail-yk0-f176.google.com ([209.85.160.176]:36617 "EHLO mail-yk0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751798AbbHZNQc (ORCPT ); Wed, 26 Aug 2015 09:16:32 -0400 MIME-Version: 1.0 In-Reply-To: <20150826000402.GA5042@dtor-ws> References: <20150826000402.GA5042@dtor-ws> From: Rob Herring Date: Wed, 26 Aug 2015 08:16:11 -0500 Message-ID: Subject: Re: [PATCH] of/irq: export of_get_irq_byname() To: Dmitry Torokhov Cc: Grant Likely , Rob Herring , Laurent Pinchart , Jeremy Linton , Geert Uytterhoeven , Wolfram Sang , Stephen Rothwell , Vignesh R , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1193 Lines: 38 On Tue, Aug 25, 2015 at 7:04 PM, Dmitry Torokhov wrote: > Similarly to of_get_irq(), let's export of_irq_get_byname(), so if a bus core > can be compiled as a module (such as I2C) it can have access to the symbol. > > Reported-by: Stephen Rothwell > Reported-by: kbuild test robot > Signed-off-by: Dmitry Torokhov Acked-by: Rob Herring > --- > drivers/of/irq.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/of/irq.c b/drivers/of/irq.c > index 7ef837e..1a7911d 100644 > --- a/drivers/of/irq.c > +++ b/drivers/of/irq.c > @@ -446,6 +446,7 @@ int of_irq_get_byname(struct device_node *dev, const char *name) > > return of_irq_get(dev, index); > } > +EXPORT_SYMBOL_GPL(of_irq_get_byname); > > /** > * of_irq_count - Count the number of IRQs a node uses > -- > 2.5.0.457.gab17608 > > > -- > Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/