aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index 79b451247b89..30fb8e2c5c9d 100644
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powerpc/kernel/irq.c
@@ -523,7 +523,7 @@ struct irq_host *irq_find_host(struct device_node *node)
523 */ 523 */
524 spin_lock_irqsave(&irq_big_lock, flags); 524 spin_lock_irqsave(&irq_big_lock, flags);
525 list_for_each_entry(h, &irq_hosts, link) 525 list_for_each_entry(h, &irq_hosts, link)
526 if (h->ops->match == NULL || h->ops->match(h, node)) { 526 if (h->ops->match != NULL && h->ops->match(h, node)) {
527 found = h; 527 found = h;
528 break; 528 break;
529 } 529 }