Re: [PATCH 2/5] drivers/of: add EXPORT_SYMBOL to of_irq_count

From: Paul Gortmaker
Date: Mon Feb 08 2016 - 10:54:43 EST


[Re: [PATCH 2/5] drivers/of: add EXPORT_SYMBOL to of_irq_count] On 08/02/2016 (Mon 10:56) Arnd Bergmann wrote:

> On Sunday 07 February 2016 19:00:41 Paul Gortmaker wrote:
> > diff --git a/drivers/of/irq.c b/drivers/of/irq.c
> > index 7ee21ae305ae..0d714748a571 100644
> > --- a/drivers/of/irq.c
> > +++ b/drivers/of/irq.c
> > @@ -449,6 +449,7 @@ int of_irq_count(struct device_node *dev)
> >
> > return nr;
> > }
> > +EXPORT_SYMBOL(of_irq_count);
> >
> > /**
> > * of_irq_to_resource_table - Fill in resource table with node's IRQ info
> > --
> >
>
> I think the drivers should be changed to call platform_irq_count() instead.

I'll look into that and see if it works.

P.
--

>
> Arnd