Re: [PATCH 1/3] of/irq: Export of_irq_get()

From: Wolfram Sang
Date: Fri Oct 31 2014 - 14:19:44 EST


On Thu, Oct 30, 2014 at 04:17:19PM +0200, Laurent Pinchart wrote:
> 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
> > > <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx>
> >
> > 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.

Oh, DT maintainers are not on CC. Then I can wait pretty long for an
ack ;) Fixing that.

>
> > > ---
> > >
> > > 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
>

Attachment: signature.asc
Description: Digital signature