]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ata/pata_of_platform.c
cpumask: introduce new API, without changing anything, v3
[linux-2.6-omap-h63xx.git] / drivers / ata / pata_of_platform.c
index 408da30594c442564f311deea0dcb62d7f14bc8b..1f18ad9e4fe161a6bfa33b84fff06c5c72626228 100644 (file)
@@ -52,7 +52,7 @@ static int __devinit pata_of_platform_probe(struct of_device *ofdev,
 
        ret = of_irq_to_resource(dn, 0, &irq_res);
        if (ret == NO_IRQ)
-               irq_res.start = irq_res.end = -1;
+               irq_res.start = irq_res.end = 0;
        else
                irq_res.flags = 0;