intelfb: add vsync interrupt support
[safe/jmp/linux-2.6] / drivers / video / sa1100fb.c
index 8a893ce..d9831fd 100644 (file)
@@ -1457,7 +1457,7 @@ static int __init sa1100fb_probe(struct platform_device *pdev)
        int ret, irq;
 
        irq = platform_get_irq(pdev, 0);
-       if (irq <= 0)
+       if (irq < 0)
                return -EINVAL;
 
        if (!request_mem_region(0xb0100000, 0x10000, "LCD"))