of_irq_init — Scan and initialize matching interrupt controllers in DT
void of_irq_init ( | const struct of_device_id * matches) ; |
This function scans the device tree for matching interrupt controller nodes, and calls their initialization functions in order with parents first.
matches
[]->name, matches
[]->type, and/or matches
[]->compatible determine
whether an interrupt controller node matches.
matches
[]->data contains the initialization function. The functions
are of the form
int (struct device_node *device, struct device_node *interrupt_parent);
A node is an interrupt controller node if it contains the property “interrupt-controller”.