From patchwork Wed Aug 22 07:37:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 144819 Delivered-To: patch@linaro.org Received: by 2002:a2e:164a:0:0:0:0:0 with SMTP id 10-v6csp383504ljw; Wed, 22 Aug 2018 00:38:31 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZc9J1k5WdR23VAeLYprPolk1++ITs0RrVGBUa7xNpLMUY607sA4t8jf/DhD/4dF2Qete5H X-Received: by 2002:a62:83ca:: with SMTP id h193-v6mr33965pfe.123.1534923510849; Wed, 22 Aug 2018 00:38:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534923510; cv=none; d=google.com; s=arc-20160816; b=sI7iF7dG6l7PVrK7xoNfVeG7dFcDXEsZ4tdHU1Hds+vUlRwBxpeTUmV+dXYPo0I8f1 eOjQBV0PkUiPuCBG+4H0jpuH/1tZmejH2+hP+uIq8M6UtjYzg0tRox6YdkHeiTpHxtUi Shiz/60ruSJIe244PbzGvEE626Qlia0mZTrtph+T6Z26IpmwJSIkICwax7qO8Xz1A8BA ZVrfkn4O45vmAV2Jhuvvb2gWPMcxWYJ4bEMuJD2qmmcumr6BTVmUtO3cYIh2NvwChBFu C5qAWcLsC+XRt0EBEEifxHmoa/DdPEQPWxGPA+ViGz3LlvKUvyq+WgGqvVwS/BRSzJoN mBBg== 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=mQrorWM5XLVL2S5JUpX/SBfYfQjZLsQ7TWVuerVlGM8=; b=rAMXGbeqavrTi4b6KkX1oClnMlQswa+n+tGuPxB0Xf50q22hP0bzPEPg1E5a115k6u /2o28wnwkkjtw/E0KLZO4eXoXHB7DqvjciMnNv7MsF3YGvvjft+XuznnL02Gg25cjuuL lZJ/evJ53gdmNXVNDnEMKhzkt2Ge5qVYz8rIFzeF4/4I2cPi0CzKDVBdQ1O2SxawrQ+u DsLK3g8FRMn12rVYB514pqPBQ8SbDMV/EpqR07JLxlSparOtrjqRUYKkCTir6Lp2ODQw m+LTtcCjcgYwl+ysoAsSMDxEXtpdjkJdlf4X6sPGSBx5EeTcCc42zH6HsB2Q+qWHRND3 fbOQ== 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1-v6si1015724ple.262.2018.08.22.00.38.30; Wed, 22 Aug 2018 00:38:30 -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 S1728465AbeHVLBu (ORCPT + 32 others); Wed, 22 Aug 2018 07:01:50 -0400 Received: from mx.socionext.com ([202.248.49.38]:47182 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728264AbeHVLBN (ORCPT ); Wed, 22 Aug 2018 07:01:13 -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:32 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 4C96D180237; 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 C8D0B1A0E11; 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 10/14] ata: ahci_seattle: add second argument of ahci_platform_get_resources() Date: Wed, 22 Aug 2018 16:37:06 +0900 Message-Id: <1534923430-9692-11-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: X-Mailing-List: linux-kernel@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_seattle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 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);