From patchwork Wed Aug 22 07:37:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 144813 Delivered-To: patch@linaro.org Received: by 2002:a2e:164a:0:0:0:0:0 with SMTP id 10-v6csp383201ljw; Wed, 22 Aug 2018 00:38:01 -0700 (PDT) X-Google-Smtp-Source: AA+uWPy5GvJtEp6KHcbL5MBpIkKukikLUwmhrALGmtEKkBhUiHLhOMGidMp1LzV/d/z+7fq/rYvQ X-Received: by 2002:a17:902:27a8:: with SMTP id d37-v6mr53466508plb.290.1534923480921; Wed, 22 Aug 2018 00:38:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534923480; cv=none; d=google.com; s=arc-20160816; b=A/DnBg6A8h98nBbWkOURFq4MmEsoY3ggwJ6s5233o0Mdn5HUq4E+XsVlLMNILqrw9M 5xUKZsnnXCviuAE3uhcbl69eQu6AZg4wrl3b/fhHrSdx+1UUyviXHtAEr+DZx1SfE0A2 r7EUZcb63/mJ6PKJPAYvN6Rg6SzhzzQmrnnrQAhqGnpUcx/mWXJmXWdJ8tTfhUWLJ6cb wBOz4GZ1rBOCtPw/glRRjICM5O6eI1D7wfWDK1rSaWDn+pFbj+48ZozxbPhiWDOFM1gg YyzG5qntbetGrv4uTda6+pqlpmtbJ+pSbdcAoApIvtHm0b1fHWQUC62m5ru1g1gJ3Nlv 3bTQ== 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=E8a/cXa6WxvQjzD2iaY1UDGQEN+KLwk1xWk+nu5yv2g=; b=IBEh5a7JLjetix1xw6F6A7DBIZZfBHlPi7YCYwSjB/2RMmqLhXYjCQv25KCGeyO4Zk MTNzSouTkVwR4YqtkDwttKsMVvEVb6Q9ZBLAyTKL0yk4azzfg+Rlyi6Kr/OlDudHqF2O HcbFvjQo2pr1KxvWnwTqPEY0pKEVew+ifzI1IaDx+iSIzM9Z8M4j3YCWWwEQgjsnVgcM PFfVp5mu3JZbqq9zXq59BKFiI4DMt5CHDDsRsSD6dm1xuZBUKPQctMBUXEpTXyl3u2C8 OaP5fBqZB/f+fZnxeVI7rv6ouEZrBprE9BDRfD0dZAAEhCkboWbc0lAt/LS++Ko+dd8S rpkQ== 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 i13-v6si1008656pgq.426.2018.08.22.00.38.00; Wed, 22 Aug 2018 00:38:00 -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 S1728387AbeHVLBP (ORCPT + 32 others); Wed, 22 Aug 2018 07:01:15 -0400 Received: from mx.socionext.com ([202.248.49.38]:47202 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728199AbeHVLBO (ORCPT ); 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:30 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id F0E1B180237; 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 6FB471A0E6F; 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 05/14] ata: ahci_dm816: add second argument of ahci_platform_get_resources() Date: Wed, 22 Aug 2018 16:37:01 +0900 Message-Id: <1534923430-9692-6-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_dm816.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/ata/ahci_dm816.c b/drivers/ata/ahci_dm816.c index fbd827c..89509c3 100644 --- a/drivers/ata/ahci_dm816.c +++ b/drivers/ata/ahci_dm816.c @@ -148,7 +148,7 @@ static int ahci_dm816_probe(struct platform_device *pdev) struct ahci_host_priv *hpriv; int rc; - hpriv = ahci_platform_get_resources(pdev); + hpriv = ahci_platform_get_resources(pdev, 0); if (IS_ERR(hpriv)) return PTR_ERR(hpriv);