Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

of/irq: Mark initialised interrupt controllers as populated

For interrupt controllers successfully initialised early via device-tree,
mark these interrupt controllers as populated so we don't unnecessarily
create a device and populate any platform data later on in the boot
sequence when we populate all the various platform devices.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Jon Hunter and committed by
Rob Herring
15cc2ed6 d9fc8807

+2
+2
drivers/of/irq.c
··· 557 557 * its children can get processed in a subsequent pass. 558 558 */ 559 559 list_add_tail(&desc->list, &intc_parent_list); 560 + 561 + of_node_set_flag(desc->dev, OF_POPULATED); 560 562 } 561 563 562 564 /* Get the next pending parent that might have children */