Skip to contentSkip to conversation

of/irq: Mark initialised interrupt controllers as populated

PATCH Applied Jon Hunter 2 participants 2 messages Jun 20, 2016 – Jun 24, 2016 Device tree

lore
Share & tools
lore

Jon Hunter

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/of/irq.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/of/irq.c +2 -0
index 6ec743faabe8..1b58cd574316 100644
@@ -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 */
Signature · 6 lines
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Applied
#1 lore raw
Quoted 6 lines · Jon Hunter

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.

Applied, thanks.

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html