Merge tag 'powerpc-4.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[cascardo/linux.git] / arch / powerpc / platforms / 82xx / pq2ads-pci-pic.c
index 60e89fc..8b065bd 100644 (file)
@@ -131,7 +131,7 @@ int __init pq2ads_pci_init_irq(void)
        }
 
        irq = irq_of_parse_and_map(np, 0);
-       if (irq == NO_IRQ) {
+       if (!irq) {
                printk(KERN_ERR "No interrupt in pci pic node.\n");
                of_node_put(np);
                goto out;