Skip to content

Commit

Permalink
of/irq: Mark initialised interrupt controllers as populated
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jon Hunter authored and Rob Herring committed Jun 24, 2016
1 parent d9fc880 commit 15cc2ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/of/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,8 @@ void __init of_irq_init(const struct of_device_id *matches)
* its children can get processed in a subsequent pass.
*/
list_add_tail(&desc->list, &intc_parent_list);

of_node_set_flag(desc->dev, OF_POPULATED);
}

/* Get the next pending parent that might have children */
Expand Down

0 comments on commit 15cc2ed

Please sign in to comment.