Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16af2d65 authored by Kunihiko Hayashi's avatar Kunihiko Hayashi Committed by Tejun Heo
Browse files

ata: add an extra argument to ahci_platform_get_resources()



Add an extra argument to ahci_platform_get_resources(), that is
for the bitmap representing the resource to get in this function.

Currently there is no resources to be defined, so all the callers set
'0' to the argument.

Suggested-by: default avatarHans de Goede <hdegoede@redhat.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent a69508c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -425,7 +425,7 @@ static int brcm_ahci_probe(struct platform_device *pdev)

	brcm_sata_phys_enable(priv);

	hpriv = ahci_platform_get_resources(pdev);
	hpriv = ahci_platform_get_resources(pdev, 0);
	if (IS_ERR(hpriv))
		return PTR_ERR(hpriv);
	hpriv->plat_data = priv;
+1 −1
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@ static int ceva_ahci_probe(struct platform_device *pdev)

	cevapriv->ahci_pdev = pdev;

	hpriv = ahci_platform_get_resources(pdev);
	hpriv = ahci_platform_get_resources(pdev, 0);
	if (IS_ERR(hpriv))
		return PTR_ERR(hpriv);

+1 −1
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ static int ahci_da850_probe(struct platform_device *pdev)
	u32 mpy;
	int rc;

	hpriv = ahci_platform_get_resources(pdev);
	hpriv = ahci_platform_get_resources(pdev, 0);
	if (IS_ERR(hpriv))
		return PTR_ERR(hpriv);

+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ static int ahci_dm816_probe(struct platform_device *pdev)
	struct ahci_host_priv *hpriv;
	int rc;

	hpriv = ahci_platform_get_resources(pdev);
	hpriv = ahci_platform_get_resources(pdev, 0);
	if (IS_ERR(hpriv))
		return PTR_ERR(hpriv);

+1 −1
Original line number Diff line number Diff line
@@ -1127,7 +1127,7 @@ static int imx_ahci_probe(struct platform_device *pdev)
			return ret;
	}

	hpriv = ahci_platform_get_resources(pdev);
	hpriv = ahci_platform_get_resources(pdev, 0);
	if (IS_ERR(hpriv))
		return PTR_ERR(hpriv);

Loading