]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
irqdomain: Fix flubbed irq_domain_associate_many refactoring
authorGrant Likely <grant.likely@linaro.org>
Tue, 18 Jun 2013 09:15:19 +0000 (10:15 +0100)
committerGrant Likely <grant.likely@linaro.org>
Tue, 18 Jun 2013 09:37:13 +0000 (10:37 +0100)
commit d39046ec72, "irqdomain: Refactor irq_domain_associate_many()" was
missing the following hunk which causes a boot failure on anything using
irq_domain_add_tree() to allocate an irq domain.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Cc: Michael Neuling <mikey@neuling.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Cc: Thomas Gleixner <tglx@linutronix.de>,
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
include/linux/irqdomain.h

index 02f7658a62f3ebba7cfcb93f2d4d3bc034a41cb5..c983ed18c3326d8531a8acd01f1d83c65d9756e5 100644 (file)
@@ -162,7 +162,7 @@ static inline struct irq_domain *irq_domain_add_tree(struct device_node *of_node
                                         const struct irq_domain_ops *ops,
                                         void *host_data)
 {
-       return irq_domain_add_linear(of_node, 0, ops, host_data);
+       return __irq_domain_add(of_node, 0, ~0, 0, ops, host_data);
 }
 
 extern void irq_domain_remove(struct irq_domain *host);