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

- From: Mark Brown \<hidden\>
- Date: 2012-08-06 15:54:50 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2012/08/3903729
- Thread: https://ratatoskr.run/linux-arm-kernel/2012/08/3903516/t.md

```text
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?
```
