From patchwork Wed Aug 22 07:37:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 144808 Delivered-To: patch@linaro.org Received: by 2002:a2e:164a:0:0:0:0:0 with SMTP id 10-v6csp382898ljw; Wed, 22 Aug 2018 00:37:35 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzVi4qBvgmg3Y2uwtw2gpOxXmuFc9bQPZCazzri6ejskPKcOeBLyYvNM3KHyuYJNdzM00XH X-Received: by 2002:a17:902:70cb:: with SMTP id l11-v6mr16956599plt.91.1534923454963; Wed, 22 Aug 2018 00:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534923454; cv=none; d=google.com; s=arc-20160816; b=YyCx4WwO1o2CvHS348CBwq4vmhBSDYWCJviYH8xA8CvBNdMI8/TOA3g4/fSASqnMSA y7C5J6DN8smQQeGQyH/94a+839sKVGgxkkYXO54gLTMGJE1OSf29Beu+t15jV6NumkE9 xhFhUOz2Oxdf1AIMR/Yf3wi6+5JWg5i3FpRbvEUCovHpmrO97hXzfdnLhJHnEMk9+Lbp VIJ32UAWyeAg/DnpGWOk23eSQ0N/lf14KUZw9tm5Zq/5v0A9qNR18mVOOmGVNm9g9Aui LiLi5p+O8P1XQFQ8UMEFeNhDVUmQpxMNYcpd1lFiM45c3/u/npjlasN+D476OyG6XYdp CCWg== 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=LJ0gg3ntMms0GlqgEwhDitVvKMdqOrmXz5bSUqtV/q8=; b=egBZOdrSEZxnxWLJRei16iX26WHLeWUoDXFMJN0zYqmroffp8qVeGpDTNSkWC/pxin AFeDLV60amSdxa3MC+vl9drhdcrkz9qFh9+hXMc8uF8r4r3mlv1tzRqaf+4F0HUD6Xwp n8zKbowJyY944oFy6dfPge27EeeCRzMtaoEH/Wbiw2qlv9m/5QTYHxM1flRaE5pKiQe3 8BB5i59bLBUAvOxvb6zgt7tazL47aIdf4PWa7WP4FWuoLLrSXsEBenYDJUHNslNCfGuy hRYL8oyldPFAa483D6YkhmUSigViAUl1ceI05eEd/GnRi5jxiaqaew3skXkl/4rnWDqj X/pA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j19-v6si1052327pgg.313.2018.08.22.00.37.34; Wed, 22 Aug 2018 00:37:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728283AbeHVLBN (ORCPT + 6 others); Wed, 22 Aug 2018 07:01:13 -0400 Received: from mx.socionext.com ([202.248.49.38]:47199 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728255AbeHVLBM (ORCPT ); Wed, 22 Aug 2018 07:01:12 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 22 Aug 2018 16:37:32 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 04B6B6062A; 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 39D071A0E11; Wed, 22 Aug 2018 16:37:31 +0900 (JST) From: Kunihiko Hayashi To: Tejun Heo , Hans de Goede , Rob Herring , Mark Rutland , linux-ide@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH 08/14] ata: ahci_mvebu: add second argument of ahci_platform_get_resources() Date: Wed, 22 Aug 2018 16:37:04 +0900 Message-Id: <1534923430-9692-9-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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_mvebu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/ata/ahci_mvebu.c b/drivers/ata/ahci_mvebu.c index 72d90b4..f9cb51b 100644 --- a/drivers/ata/ahci_mvebu.c +++ b/drivers/ata/ahci_mvebu.c @@ -158,7 +158,7 @@ static int ahci_mvebu_probe(struct platform_device *pdev) const struct mbus_dram_target_info *dram; int rc; - hpriv = ahci_platform_get_resources(pdev); + hpriv = ahci_platform_get_resources(pdev, 0); if (IS_ERR(hpriv)) return PTR_ERR(hpriv);