Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / drivers / ata / ahci_mtk.c
index 0ae6971c2a4cfcd3bba93856335f4a031137385c..8bc1a26ffc31e67073a7ba8154a071ca23d29305 100644 (file)
@@ -142,7 +142,7 @@ static int mtk_ahci_probe(struct platform_device *pdev)
        if (!plat)
                return -ENOMEM;
 
-       hpriv = ahci_platform_get_resources(pdev);
+       hpriv = ahci_platform_get_resources(pdev, 0);
        if (IS_ERR(hpriv))
                return PTR_ERR(hpriv);