summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/parport.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/parport.h')
-rw-r--r--arch/powerpc/include/asm/parport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/parport.h b/arch/powerpc/include/asm/parport.h
index a452968b29ea..6595ad1d18cc 100644
--- a/arch/powerpc/include/asm/parport.h
+++ b/arch/powerpc/include/asm/parport.h
@@ -28,7 +28,7 @@ static int parport_pc_find_nonpci_ports (int autoirq, int autodma)
io1 = prop[1]; io2 = prop[2];
virq = irq_of_parse_and_map(np, 0);
- if (virq == NO_IRQ)
+ if (!virq)
continue;
if (parport_pc_probe_port(io1, io2, virq, autodma, NULL, 0)