Commit 15cc2ed6 authored by Jon Hunter's avatar Jon Hunter Committed by Rob Herring

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: default avatarJon Hunter <jonathanh@nvidia.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent d9fc8807
...@@ -557,6 +557,8 @@ void __init of_irq_init(const struct of_device_id *matches) ...@@ -557,6 +557,8 @@ void __init of_irq_init(const struct of_device_id *matches)
* its children can get processed in a subsequent pass. * its children can get processed in a subsequent pass.
*/ */
list_add_tail(&desc->list, &intc_parent_list); 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 */ /* Get the next pending parent that might have children */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment