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

From: Arnd Bergmann
Date: Mon Feb 08 2016 - 04:56:36 EST


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.

Arnd