From patchwork Wed Aug 22 07:37:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 144815 Delivered-To: patch@linaro.org Received: by 2002:a2e:164a:0:0:0:0:0 with SMTP id 10-v6csp383319ljw; Wed, 22 Aug 2018 00:38:12 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwxsB6wXSMMYh0UGebWNLMASAdQRQEoK6PBrahWa5fX7I4dfF2CHDd0/fmkRZA0W3q3/WPJ X-Received: by 2002:a62:c288:: with SMTP id w8-v6mr56336617pfk.92.1534923491999; Wed, 22 Aug 2018 00:38:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534923491; cv=none; d=google.com; s=arc-20160816; b=RInYnIg+2+IMuCIn66yIUCAJUw3latZmYWub/evzKihggislL6OlY0coFjZ/dSVK3O TQ1XyhNl7fSE9SpzE/u4c8ZzHqL8D6g3JbQLHTiz+2SUnbKTwys0eK9RNhoT//VLtBme WV1xkjDinbruth8JIrP+jv7larx+Cb6bBaB53PuPUY0V8s4AL3kdXiubqaVDEXVDiujF DzTEj8omAlB7yRR6lH4HIndMQinpRFba4q3+HAbEegRk+R3w7b8fFUJidNJLMZqs7vD3 khvQZec5e69HLYQcDAD4UBCbsvWI8dJ5i3Ak2yFZjKJIzxtYxd0Tgo2Vmia2JXxwWl/D NZsQ== 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=FlNR6vHgB1GfRO4yJ3XHA+ep1GHVNXqd6E8CmIBkXu4=; b=Scdu9pY7KugpYlnQuL68m48GOemb0229OMn13VR71gw6bTww+o7okBnf6Kse4jS3CW eab2KmimOD5rKHi/eV9Ycxf84DBefnimHOsszGO5MaepF9tqpUIkmuxao3wi/KH4WzhL OPYzKcf4owzAajhY1y/dmqPRe5gPK6VqnIfVsAMGirWiq396vfBdNGHD37f+xbvKVe2f B45OBBMEsO6c53Ke48FWgUJdD24+gWF53DkzGG26RXyJZT5tqpBAe+sMhRWHie/znudf 6bqC897U6n4CGB5YjS7Eify50aKS2DfWbABEeqxpkqj+ucXBik6L+6ZXWyzBfeGUzwdw in9A== 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 q4-v6si987326pll.156.2018.08.22.00.38.11; Wed, 22 Aug 2018 00:38:11 -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 S1728334AbeHVLBN (ORCPT + 32 others); Wed, 22 Aug 2018 07:01:13 -0400 Received: from mx.socionext.com ([202.248.49.38]:47195 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726448AbeHVLBM (ORCPT ); Wed, 22 Aug 2018 07:01:12 -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:30 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id BD4FC180237; Wed, 22 Aug 2018 16:37:30 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 22 Aug 2018 16:37:30 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 347761A0E11; 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 04/14] ata: ahci_da850: add second argument of ahci_platform_get_resources() Date: Wed, 22 Aug 2018 16:37:00 +0900 Message-Id: <1534923430-9692-5-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_da850.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/ata/ahci_da850.c b/drivers/ata/ahci_da850.c index 9b34dff..ebaa657 100644 --- a/drivers/ata/ahci_da850.c +++ b/drivers/ata/ahci_da850.c @@ -171,7 +171,7 @@ static int ahci_da850_probe(struct platform_device *pdev) u32 mpy; int rc; - hpriv = ahci_platform_get_resources(pdev); + hpriv = ahci_platform_get_resources(pdev, 0); if (IS_ERR(hpriv)) return PTR_ERR(hpriv);