Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[linux-2.6-microblaze.git] / drivers / ata / sata_mv.c
index de5bd02..e3cff01 100644 (file)
@@ -4057,7 +4057,7 @@ static int mv_platform_probe(struct platform_device *pdev)
        /*
         * Simple resource validation ..
         */
-       if (unlikely(pdev->num_resources != 2)) {
+       if (unlikely(pdev->num_resources != 1)) {
                dev_err(&pdev->dev, "invalid number of resources\n");
                return -EINVAL;
        }