irqchip/mips-gic: Implement activate op for device domain
[cascardo/linux.git] / drivers / of / irq.c
index 6ec743f..89a71c6 100644 (file)
@@ -18,6 +18,8 @@
  * driver.
  */
 
+#define pr_fmt(fmt)    "OF: " fmt
+
 #include <linux/device.h>
 #include <linux/errno.h>
 #include <linux/list.h>
@@ -557,6 +559,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 */