Skip to content

Commit 15cc2ed

Browse files
jonhunterrobherring
authored andcommitted
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>
1 parent d9fc880 commit 15cc2ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/of/irq.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,8 @@ void __init of_irq_init(const struct of_device_id *matches)
557557
* its children can get processed in a subsequent pass.
558558
*/
559559
list_add_tail(&desc->list, &intc_parent_list);
560+
561+
of_node_set_flag(desc->dev, OF_POPULATED);
560562
}
561563

562564
/* Get the next pending parent that might have children */

0 commit comments

Comments
 (0)