of_irq_find_parent — Given a device node, find its interrupt parent node
struct device_node * of_irq_find_parent ( | struct device_node * child) ; |
Walk up the tree from child
to find a node containing property
“#interrupt-cells”. Each step of the walk goes to the node referenced by
the phandle in property “interrupt-parent” if it exists, otherwise the
parent of the node. The node containing property “#interrupt-cells” is
the interrupt parent node.
The path of the walk may be short-circuited if no “interrupt-parent” property exists and (of_irq_workarounds & OF_IMAP_NO_PHANDLE).