From patchwork Wed Aug 22 07:37:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 144816 Delivered-To: patch@linaro.org Received: by 2002:a2e:164a:0:0:0:0:0 with SMTP id 10-v6csp383339ljw; Wed, 22 Aug 2018 00:38:13 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzecHUga9fuSdMoaKVddwY9gyciM+BUXqb7mPtW5JUAGLoIe/SeYhX83M10kixNauv3CeR9 X-Received: by 2002:a63:fc5a:: with SMTP id r26-v6mr19161838pgk.377.1534923493649; Wed, 22 Aug 2018 00:38:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534923493; cv=none; d=google.com; s=arc-20160816; b=lcphsbtMKVkqxzUmpyW5hGJlJsRvvAOVzqm50b95u1OLeHb0kGKWiz9xOvdhq3OZLq +LTfICRhCpeQ4IzqQQiSX543BhXu28LH/usrvyilufiUNnBO0cm6dXHwoDTHtFnvwRHn NaiFZImEzak94XdRap70niZRYzpvtux4yMfcXy/6EnTH2x3c6ryb/CwtaiNKOq1QmU8g dwZyyMSUdCGOy5yHPtOKGFWZ8traFBK79T3ZR/x59PyO2XaIu3cN3/PUqIm/9wZSmp3d Y6be7qIf69kJfLhalTt+0EWNOsi5Ro6F59CAKYbeHDoqVdSzaRDBGY2N/haYhwI6vH2T ekvw== 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=XwqQ//3iW1sIWn6bTg9o/eL9010o3+HleC3MqBvEG/E=; b=UXsEtBb2r3BIDfUlQZrvSSJ2YfllEcE3UHBfTHRXFHp5lL3uSgjy67+Mu1rwciQdDk GJ9PPt6tX2hgB9YtqAVy96yR/aFQ93S5YkQvp2xiOLA0K7vq0Yu5I1g6VQ0eMTaFvKaN I040YpDy0RB8Rc075zboXx19SyeuAUXw0vuLrZH7kvqbtJAwMyRmVDR1ASVGENmst2f7 O34sXgU/Evvy4rEYjEwnxIhCdLhYc/HKH1u4s39eJpsoqHKANkGXDl3YrKykC0GDFsR6 qDqHx/SdD6FmpnXo0foaVfIrJuCoS2Seoa5RPgGoVMCjYQ6ZWSCiFV8OdnsxjmYa6SRZ 41qA== 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 g7-v6si1024993plq.163.2018.08.22.00.38.13; Wed, 22 Aug 2018 00:38:13 -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 S1728514AbeHVLBu (ORCPT + 32 others); Wed, 22 Aug 2018 07:01:50 -0400 Received: from mx.socionext.com ([202.248.49.38]:47191 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728253AbeHVLBN (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:31 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 4A88B180237; Wed, 22 Aug 2018 16:37:31 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 22 Aug 2018 16:37:31 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id AEE4C1A0E11; Wed, 22 Aug 2018 16:37:30 +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 06/14] ata: ahci_imx: add second argument of ahci_platform_get_resources() Date: Wed, 22 Aug 2018 16:37:02 +0900 Message-Id: <1534923430-9692-7-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_imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/ata/ahci_imx.c b/drivers/ata/ahci_imx.c index 6822e2f..b00799d 100644 --- a/drivers/ata/ahci_imx.c +++ b/drivers/ata/ahci_imx.c @@ -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);