ata: add an extra argument to ahci_platform_get_resources()
[sfrench/cifs-2.6.git] / drivers / ata / ahci_st.c
index bc345f24955531fba69e36e1bc0233da3bb6fc88..21c5c44832ef3b6466ce4e0f81189d490ee7c6cf 100644 (file)
@@ -156,7 +156,7 @@ static int st_ahci_probe(struct platform_device *pdev)
        if (!drv_data)
                return -ENOMEM;
 
-       hpriv = ahci_platform_get_resources(pdev);
+       hpriv = ahci_platform_get_resources(pdev, 0);
        if (IS_ERR(hpriv))
                return PTR_ERR(hpriv);
        hpriv->plat_data = drv_data;