[PATCH 4/6] mfd: Use interrupt-parent as IRQ controller if specified in DT

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Aug 6 11:54:46 EDT 2012


On Mon, Aug 06, 2012 at 11:46:40AM +0100, Lee Jones wrote:

> -				domain = irq_find_host(parent->of_node);
> +#ifdef CONFIG_OF
> +				parent_node = of_irq_find_parent(np);
> +#endif

Shouldn't of_irq_find_parent() be stubbed out by the header?  Every
single user of this is going to need it.  Indeed, shouldn't we be making
irq_find_host() just do this?



More information about the linux-arm-kernel mailing list