Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[sfrench/cifs-2.6.git] / arch / arm / mach-omap2 / prm3xxx.c
index 64f6451499a795de85fd451903de1d9aef59ba7a..a2dd13217c891d269d6832ab014130ad66e1b986 100644 (file)
@@ -706,7 +706,7 @@ static int omap3xxx_prm_late_init(void)
        np = of_find_matching_node(NULL, omap3_prm_dt_match_table);
        if (np) {
                irq_num = of_irq_get(np, 0);
-               if (irq_num >= 0)
+               if (irq_num > 0)
                        omap3_prcm_irq_setup.irq = irq_num;
        }