]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/sysdev/mpic.c
Merge remote-tracking branch 'powerpc/next'
[karo-tx-linux.git] / arch / powerpc / sysdev / mpic.c
index 123e43612f0a829f254b8a520103b6267c1f38fa..2a0452e364ba70a49c9985e086bc20a724b2cb16 100644 (file)
@@ -993,7 +993,8 @@ static int mpic_host_match(struct irq_domain *h, struct device_node *node,
                           enum irq_domain_bus_token bus_token)
 {
        /* Exact match, unless mpic node is NULL */
-       return h->of_node == NULL || h->of_node == node;
+       struct device_node *of_node = irq_domain_get_of_node(h);
+       return of_node == NULL || of_node == node;
 }
 
 static int mpic_host_map(struct irq_domain *h, unsigned int virq,