From patchwork Wed Aug 22 07:36:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 144821 Delivered-To: patch@linaro.org Received: by 2002:a2e:164a:0:0:0:0:0 with SMTP id 10-v6csp383862ljw; Wed, 22 Aug 2018 00:39:01 -0700 (PDT) X-Google-Smtp-Source: AA+uWPy880GxshXfVzopoWiZJQ8bp7AKizo+r/sBdVr6P/TXFLma7w5yL6vGj3K6TSpWpNehjhCL X-Received: by 2002:a65:614a:: with SMTP id o10-v6mr49948699pgv.387.1534923541326; Wed, 22 Aug 2018 00:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534923541; cv=none; d=google.com; s=arc-20160816; b=ufWfCCsWWRgdLotczbO0qSWlyw+nuwC4XaH4wcYnkwreKtXIoxenNgMzgv4NMcr/cS V6kPakw9/8G8bx9Xv0xmNhjSp47tjFdrNpUsYDHMP0dT+FHHY0wR8EWD9Z8EbLg4GwXj aRSWONvZEabmZ3qfJlyantavIeGoAoWWAVQnVzhMJPWYrtrNZcTr4GRWS+6k5Ron9i5M cxrVGaj81Kp2Q2lBfLNR3UjUbuhQhMp85lqVJvcH5VZfpDOj4qejog6+Kkn6xCgExsbZ 7Nv4HgaFP/zU/CCHKL4vCH6rlfT+mU2J3tHKz0EBL5zI9LP5jrtBSVbHh5mQDmljEy9e jaZg== 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=laVd8L7EgqtFoQiapGBT9vwQLGWOSk6hcT7l2gIUFic=; b=K19xXmF3SdV2AiGT7/WNHuZgN1MB1F1Rvuab+ECAkEf3ksIhPjdgZG6cJxHkdRRIZR LRy55OMYr9+ze1/y9t2OaGerSRvHX/sRI/Rdp/VU7o/xnk8nCfOPcfZw97Y3Jik5yZMU 0YO7Z8RClOTGiP4XystWkRpPS9cTB4hp+e6d6E44GMbbxalZ4sefifuhsdmgWPlyVcKa Bqfp4KMJJbdUquTNspOi5rP0rW3OwHSJDkK+UBRtuXs0LYZSkyFOjLjVcehxRtSfvBEp 5K2/jQDi3wL6pMJHIK9OyWMIRzSZwlZeKAMquPYgNue3HHgf7BgeXhVwoUeExACKIV7v lSKg== 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 g12-v6si1063718pla.70.2018.08.22.00.39.01; Wed, 22 Aug 2018 00:39:01 -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 S1727845AbeHVLCk (ORCPT + 6 others); Wed, 22 Aug 2018 07:02:40 -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 S1728228AbeHVLBM (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 BD9AB180B7D; 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 E44E01A0E6F; Wed, 22 Aug 2018 16:37:29 +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 03/14] ata: ahci_ceva: add second argument of ahci_platform_get_resources() Date: Wed, 22 Aug 2018 16:36:59 +0900 Message-Id: <1534923430-9692-4-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_ceva.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/ata/ahci_ceva.c b/drivers/ata/ahci_ceva.c index 5ecc9d4..dc78c98 100644 --- a/drivers/ata/ahci_ceva.c +++ b/drivers/ata/ahci_ceva.c @@ -213,7 +213,7 @@ static int ceva_ahci_probe(struct platform_device *pdev) cevapriv->ahci_pdev = pdev; - hpriv = ahci_platform_get_resources(pdev); + hpriv = ahci_platform_get_resources(pdev, 0); if (IS_ERR(hpriv)) return PTR_ERR(hpriv); 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); From patchwork Wed Aug 22 07:37:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 144812 Delivered-To: patch@linaro.org Received: by 2002:a2e:164a:0:0:0:0:0 with SMTP id 10-v6csp383112ljw; Wed, 22 Aug 2018 00:37:53 -0700 (PDT) X-Google-Smtp-Source: AA+uWPz+LZEn36MoTZYF9wKJJvALUBdP7HA5YBRvK7JCaozwiffUdqFvIp/FUrbG+3w3DnzpCPpZ X-Received: by 2002:a17:902:7d92:: with SMTP id a18-v6mr17836566plm.88.1534923473062; Wed, 22 Aug 2018 00:37:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534923473; cv=none; d=google.com; s=arc-20160816; b=HRSFGJbZLJf9Co6cVejr50gvHuildE0fs3RPJU6w2djSSpvSAjcyZ5yq7OGCQ4Nc+p DFKdQJ6tOAvfnx98q/zjk5Jx+ZiQEOU3l9ZRwv7kdx194Uf+w308I2PHoV7iQzvFVen2 JvEfpoNp4wLzjUCkroQSrpQpmWbuSqD+P0UkNlFIH6rS1snIFi4XBcvkQ46wHlmf1Lu9 bxTpb1KA2FbijCZCR5PvqRTlfs0osMRH0Haph6gK8BxjIxMmL2cuZA+TjIWMOcKZg+aA 7Q9f06HJc8kOoJey+1+TH4hzm2ImEhgqaJ67J5hXYl/35uANw5MxIBcwNDjdT3I9RHGg mLAA== 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=nHG+oK9k9cc+7APCNQjc4v7ReMH0r9bVz8mCF+T3Kc8=; b=JxhtDM66deeCgFFSe05IAgp6jMo86lACB+YhnQg3KnYywlLPFtebfPOebn9Bo0GXgy H264OUf3l7qD4hY2rQBD8aEOot/O8V5pWm+d5/3dQJ52mEOHvCTg4leQyMR8l0UmVa+R m/fo/nkxvHG/XNERuCsyT01FaRn+TP6JEMcYcXTMnH4tOxW04aEaUuxFiinXiX4IL3A7 /QA8J2JLJrpUrL/lDT7W0tDp+3cbOisVc9cUeDWqe8453on8TmK8L0wVIE/PKBQaKFA7 fp6jYd03zZcP5gctPSNisEEyx1muym/DkilU9gicYWpPfq5hcJhPZWZ9/PQlkBduBVt/ vxZA== 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 j10-v6si1010752plg.499.2018.08.22.00.37.52; Wed, 22 Aug 2018 00:37:53 -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 S1728451AbeHVLBb (ORCPT + 6 others); Wed, 22 Aug 2018 07:01:31 -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 S1728365AbeHVLBP (ORCPT ); Wed, 22 Aug 2018 07:01:15 -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:33 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 5352C180237; Wed, 22 Aug 2018 16:37:33 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 22 Aug 2018 16:37:33 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 8CCF41A0E6F; Wed, 22 Aug 2018 16:37:32 +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 , Thierry Reding Subject: [PATCH 13/14] ata: ahci_tegra: add second argument of ahci_platform_get_resources() Date: Wed, 22 Aug 2018 16:37:09 +0900 Message-Id: <1534923430-9692-14-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 Cc: Thierry Reding Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/ata/ahci_tegra.c b/drivers/ata/ahci_tegra.c index 64d8484..004f260 100644 --- a/drivers/ata/ahci_tegra.c +++ b/drivers/ata/ahci_tegra.c @@ -494,7 +494,7 @@ static int tegra_ahci_probe(struct platform_device *pdev) int ret; unsigned int i; - hpriv = ahci_platform_get_resources(pdev); + hpriv = ahci_platform_get_resources(pdev, 0); if (IS_ERR(hpriv)) return PTR_ERR(hpriv); From patchwork Wed Aug 22 07:37:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 144810 Delivered-To: patch@linaro.org Received: by 2002:a2e:164a:0:0:0:0:0 with SMTP id 10-v6csp383014ljw; Wed, 22 Aug 2018 00:37:43 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxmQbW6XcFpuurF2cYziW9efGVZkwE6JdfIPEzD/tZgAwDXuwiS8tdxj5qY4kbyS+SPh33b X-Received: by 2002:a62:3184:: with SMTP id x126-v6mr56613255pfx.49.1534923463563; Wed, 22 Aug 2018 00:37:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534923463; cv=none; d=google.com; s=arc-20160816; b=RT2r558GO0E4xJjApFYDqC/Vy9rC/ihJreRGnZmblWZYvqQjYplwR15kBkc0JSD1R5 4LI3YbEOsIJNP1dnobcLwUpEl5qNVUiFtAYH42ycnuGPhuWMPtACtcst3RIbn1us0b5S MXoHIAI2IKUAxj/KZP7hSF3zeeDDzfAJ74fmc0Y9Nj9c9J2bIfQQSIIdjUviRErGDqLj AMHuizNL9U+gTD4I7GLF/6yf9Mnbv0E/iOvfIyCj2enztKyXflbb9q1VxbgH4SovNYgm zJDxPgJiyurTpohHhITQ0+syqf5kB9M7zprVco/dcXk9lpo8EWP9p5q8Xl5Xo600+VlA 7Z8Q== 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=W1Wc/y6sxFoHgmEbzgZKqNzqXN1hwjr7+gU9I65xRKU=; b=k7wl9T03ekxOEE1bJNIwVQYsm3frl2W5IZnQotXsMjnx+S51y7CGa7ZHy3iL1FeWX9 Jw6qZKSrTGE6Ow0UKwxvfRlz02uVwQsL1KFYrunNotTiVcyBu+8V0ccj/NWcjFmsasX+ gTs2+orcXPK2qs/zrwYIYp7VLPCyHfru/8GeELPp/qdtYDIHWecg7Us57Fj2frYikrs6 9AGUu0SqcdYYwWeYyWkSK0fmJ7TkgpW88JfFYZ/pOEg3HLfmimoU4YD1+BNxI00W1Ibi 7g3qgCSTEbHhb3FJ+YEA3emme/5YfPta0NuraOW8eZVZd27xDgSHmhT3Pxe6Y+/8Vq6X LHLQ== 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 v9-v6si1178434pfg.123.2018.08.22.00.37.43; Wed, 22 Aug 2018 00:37:43 -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 S1728420AbeHVLBQ (ORCPT + 6 others); Wed, 22 Aug 2018 07:01:16 -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 S1728174AbeHVLBP (ORCPT ); Wed, 22 Aug 2018 07:01:15 -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:33 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 8B94F180237; Wed, 22 Aug 2018 16:37:33 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 22 Aug 2018 16:37:33 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id CC26C1A0E11; Wed, 22 Aug 2018 16:37:32 +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 14/14] ata: ahci_xgene: add second argument of ahci_platform_get_resources() Date: Wed, 22 Aug 2018 16:37:10 +0900 Message-Id: <1534923430-9692-15-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_xgene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index ad58da7..7e157e1 100644 --- a/drivers/ata/ahci_xgene.c +++ b/drivers/ata/ahci_xgene.c @@ -759,7 +759,7 @@ static int xgene_ahci_probe(struct platform_device *pdev) &xgene_ahci_v2_port_info }; int rc; - hpriv = ahci_platform_get_resources(pdev); + hpriv = ahci_platform_get_resources(pdev, 0); if (IS_ERR(hpriv)) return PTR_ERR(hpriv);