irqdomain: Introduce helper function irq_domain_add_hierarchy()
[firefly-linux-kernel-4.4.55.git] / include / linux / irqdomain.h
index dd2709bdad567d33b32c1eca0802712803b11bd4..676d7306a3609cc9aaccb090f71000f965f0e3bd 100644 (file)
@@ -259,6 +259,10 @@ int irq_domain_xlate_onetwocell(struct irq_domain *d, struct device_node *ctrlr,
 extern struct irq_data *irq_domain_get_irq_data(struct irq_domain *domain,
                                                unsigned int virq);
 #ifdef CONFIG_IRQ_DOMAIN_HIERARCHY
+extern struct irq_domain *irq_domain_add_hierarchy(struct irq_domain *parent,
+                       unsigned int flags, unsigned int size,
+                       struct device_node *node,
+                       const struct irq_domain_ops *ops, void *host_data);
 extern int __irq_domain_alloc_irqs(struct irq_domain *domain, int irq_base,
                                   unsigned int nr_irqs, int node, void *arg,
                                   bool realloc);