diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2016-06-20 14:49:18 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2016-06-24 15:17:02 -0500 |
commit | 15cc2ed6dcf91a8658e084be4e140147161819d7 (patch) | |
tree | 0529d4bf516cfe296865ae4001cf0b41ecc15e0c /drivers/of/irq.c | |
parent | d9fc880723321dbf16b2981e3f3e916b73942210 (diff) | |
download | linux-stable-15cc2ed6dcf91a8658e084be4e140147161819d7.tar.gz linux-stable-15cc2ed6dcf91a8658e084be4e140147161819d7.tar.bz2 linux-stable-15cc2ed6dcf91a8658e084be4e140147161819d7.zip |
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>
Diffstat (limited to 'drivers/of/irq.c')
-rw-r--r-- | drivers/of/irq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 6ec743faabe8..1b58cd574316 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -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 */ |