From: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
To: Tejun Heo <tj@kernel.org>, Hans de Goede <hdegoede@redhat.com>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
linux-ide@vger.kernel.org
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Subject: [PATCH 10/14] ata: ahci_seattle: add second argument of ahci_platform_get_resources()
Date: Wed, 22 Aug 2018 16:37:06 +0900 [thread overview]
Message-ID: <1534923430-9692-11-git-send-email-hayashi.kunihiko@socionext.com> (raw)
In-Reply-To: <1534923430-9692-1-git-send-email-hayashi.kunihiko@socionext.com>
Adding a flag to indicate whether acqiring the optional resources
as the second argument of ahci_platform_get_resources(),
add the argument as initial value 0.
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
drivers/ata/ahci_seattle.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ata/ahci_seattle.c b/drivers/ata/ahci_seattle.c
index 1d31c0c..e57b6f9 100644
--- a/drivers/ata/ahci_seattle.c
+++ b/drivers/ata/ahci_seattle.c
@@ -164,7 +164,7 @@ static int ahci_seattle_probe(struct platform_device *pdev)
int rc;
struct ahci_host_priv *hpriv;
- hpriv = ahci_platform_get_resources(pdev);
+ hpriv = ahci_platform_get_resources(pdev, 0);
if (IS_ERR(hpriv))
return PTR_ERR(hpriv);
--
2.7.4
next prev parent reply other threads:[~2018-08-22 7:38 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-22 7:36 [PATCH 00/14] ata: ahci-platform: add reset control support except for existing drivers Kunihiko Hayashi
2018-08-22 7:36 ` [PATCH 01/14] ata: ahci-platform: add reset control support and the flag to specify using reset Kunihiko Hayashi
2018-08-22 9:34 ` Sergei Shtylyov
2018-08-22 10:06 ` Kunihiko Hayashi
2018-08-22 7:36 ` [PATCH 02/14] ata: ahci_brcm: add second argument of ahci_platform_get_resources() Kunihiko Hayashi
2018-08-22 7:36 ` [PATCH 03/14] ata: ahci_ceva: " Kunihiko Hayashi
2018-08-22 7:37 ` [PATCH 04/14] ata: ahci_da850: " Kunihiko Hayashi
2018-08-22 7:37 ` [PATCH 05/14] ata: ahci_dm816: " Kunihiko Hayashi
2018-08-22 7:37 ` [PATCH 06/14] ata: ahci_imx: " Kunihiko Hayashi
2018-08-22 7:37 ` [PATCH 07/14] ata: ahci_brcm: " Kunihiko Hayashi
2018-08-22 7:37 ` [PATCH 08/14] ata: ahci_mvebu: " Kunihiko Hayashi
2018-08-22 7:37 ` [PATCH 09/14] ata: ahci_qoriq: " Kunihiko Hayashi
2018-08-22 7:37 ` Kunihiko Hayashi [this message]
2018-08-22 7:37 ` [PATCH 11/14] ata: ahci_st: " Kunihiko Hayashi
2018-08-22 7:37 ` [PATCH 12/14] ata: ahci_sunxi: " Kunihiko Hayashi
2018-08-22 7:37 ` [PATCH 13/14] ata: ahci_tegra: " Kunihiko Hayashi
2018-08-22 7:37 ` [PATCH 14/14] ata: ahci_xgene: " Kunihiko Hayashi
2018-08-22 9:27 ` [PATCH 00/14] ata: ahci-platform: add reset control support except for existing drivers Hans de Goede
2018-08-22 10:06 ` Kunihiko Hayashi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1534923430-9692-11-git-send-email-hayashi.kunihiko@socionext.com \
--to=hayashi.kunihiko@socionext.com \
--cc=devicetree@vger.kernel.org \
--cc=hdegoede@redhat.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).