]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/video/exynos/exynos_dp_core.c
video: exynos_dp: Fix bug when checking dp->irq
[mirror_ubuntu-artful-kernel.git] / drivers / video / exynos / exynos_dp_core.c
index a4c1dec763bd9703ee57668161b76abfdfd0f09d..dd63d2dcffd99446f4247a06b1e32a71dc34a2fc 100644 (file)
@@ -1033,7 +1033,7 @@ static int __devinit exynos_dp_probe(struct platform_device *pdev)
        }
 
        dp->irq = platform_get_irq(pdev, 0);
-       if (!dp->irq) {
+       if (dp->irq == -ENXIO) {
                dev_err(&pdev->dev, "failed to get irq\n");
                return -ENODEV;
        }