From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: [PATCH 1/3] of/irq: Export of_irq_get() Date: Thu, 30 Oct 2014 16:17:19 +0200 Message-ID: <2139081.L8ZrMAojpq@avalon> References: <1414677578-27412-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> <1414677578-27412-2-git-send-email-laurent.pinchart+renesas@ideasonboard.com> <20141030141644.GE23852@katana> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <20141030141644.GE23852@katana> Sender: linux-kernel-owner@vger.kernel.org To: Wolfram Sang Cc: Laurent Pinchart , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Thierry Reding List-Id: linux-i2c@vger.kernel.org On Thursday 30 October 2014 15:16:44 Wolfram Sang wrote: > On Thu, Oct 30, 2014 at 03:59:36PM +0200, Laurent Pinchart wrote: > > The function will be used by the I2C core which can be compiled as a > > module. > > > > Signed-off-by: Laurent Pinchart > > > > I think it makes sense if I take this via I2C to get the dependencies > for the later patches right? It would be easier, yes. > > --- > > > > drivers/of/irq.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/of/irq.c b/drivers/of/irq.c > > index 1471e0a223a5..0d7765807f49 100644 > > --- a/drivers/of/irq.c > > +++ b/drivers/of/irq.c > > @@ -405,6 +405,7 @@ int of_irq_get(struct device_node *dev, int index) > > > > return irq_create_of_mapping(&oirq); > > > > } > > > > +EXPORT_SYMBOL_GPL(of_irq_get); > > > > /** > > > > * of_irq_get_byname - Decode a node's IRQ and return it as a Linux irq > > number -- Regards, Laurent Pinchart