Message ID | 1534923430-9692-10-git-send-email-hayashi.kunihiko@socionext.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:164a:0:0:0:0:0 with SMTP id 10-v6csp383077ljw; Wed, 22 Aug 2018 00:37:49 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbfVDF7spyCBM2+0ZuHbJChRLUe1xMyvSvK2f4UL5aFOsg708w6Lxn779hCeTpFs6jCAllW X-Received: by 2002:a17:902:7203:: with SMTP id ba3-v6mr1135960plb.179.1534923469343; Wed, 22 Aug 2018 00:37:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534923469; cv=none; d=google.com; s=arc-20160816; b=SruFDE/t4lMO5GZq+dr4LFdb6tsLxz9lpVa8/ff5KyY8iqvPGhRYHM+ylEWNIH7/RY oMhbzNhdAuXtIzABVJSTTKOekUqrXjsDJTwHuT1RL4meoh1ICgJrwosIz+uJC6/8LCmj ZrjJG6Fycq/wgrSZTDNxzoba6PWL6K6oYKsjUmmfHQsXjdyIDY+yv53G70GHqGEuN6b8 NYqwM2d8mt/RIsRw/xSmjj2uS1hQQdo4R+8N9o/yDlGpkWxUqbwbCww8XE+lrYynYkeD PipZyTAiFGH0L7++xEgbB0P2Y/rPfbafeCjZCBbQLLCn4EuuYb303yRzkzaca0H2LUYe bz0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=DEVMqtGoSRp/4mIVD/Tz1JL7D2D+g6EPBJXGU1m01VY=; b=V0vnfHi1RxQ0LVM47VYe7gUhNupW4WLYK+dC+tYZcIzm4WLphgAzzfWjlGm/4eIDsO zc4wb42gLHsKRb9JGbr96+/3SF6C505UiqVRWnApdEl2PB6qYNBrSHiTy7YmJC9UettO xms/3jN3C9gsyqauNMnbRfgxAda8unUJu3xtuHorgsSf/huMdL4iu1ZsU6JBJsf6gqEV WCEsYFAnUG4R9YFGMjaU+n51gppz3MWMZ64MJs3UYrBhRB1TSWwYhyaaGkx/h4tgBlUc rAuGbGJFvwT/lQRo1t42LPbSciQNCGNDzyMUbo986fQOHWjRqfk+gcHPXmmPc1puQXTR vTHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b129-v6si1163827pfa.12.2018.08.22.00.37.48; Wed, 22 Aug 2018 00:37:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728401AbeHVLBP (ORCPT <rfc822;igor.opaniuk@linaro.org> + 32 others); Wed, 22 Aug 2018 07:01:15 -0400 Received: from mx.socionext.com ([202.248.49.38]:47187 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728318AbeHVLBO (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 22 Aug 2018 07:01:14 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 22 Aug 2018 16:37:31 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 0590A180237; Wed, 22 Aug 2018 16:37:32 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 22 Aug 2018 16:37:32 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 854551A0E6F; Wed, 22 Aug 2018 16:37:31 +0900 (JST) 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 09/14] ata: ahci_qoriq: add second argument of ahci_platform_get_resources() Date: Wed, 22 Aug 2018 16:37:05 +0900 Message-Id: <1534923430-9692-10-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534923430-9692-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1534923430-9692-1-git-send-email-hayashi.kunihiko@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[01/14] ata: ahci-platform: add reset control support and the flag to specify using reset
|
expand
|
diff --git a/drivers/ata/ahci_qoriq.c b/drivers/ata/ahci_qoriq.c index cfdef4d..ce59253 100644 --- a/drivers/ata/ahci_qoriq.c +++ b/drivers/ata/ahci_qoriq.c @@ -250,7 +250,7 @@ static int ahci_qoriq_probe(struct platform_device *pdev) struct resource *res; int rc; - hpriv = ahci_platform_get_resources(pdev); + hpriv = ahci_platform_get_resources(pdev, 0); if (IS_ERR(hpriv)) return PTR_ERR(hpriv);
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_qoriq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4