From patchwork Wed Sep 13 05:20:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 112402 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp535349qgf; Tue, 12 Sep 2017 22:23:17 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6OBCF3AlvzKmhi0MZ3X06vPRJmJM7eGWiObyGht8RYoPeK5yC6KLeaO6CmeutDh/wh995v X-Received: by 10.101.90.138 with SMTP id c10mr16749414pgt.350.1505280197788; Tue, 12 Sep 2017 22:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505280197; cv=none; d=google.com; s=arc-20160816; b=yVUwYyrl+ukaI34cpRF4gvfrmLZG5m2rlNvQIdQjjP1SI0HPL2BL7e2TkmqNPyIiFU FQpMtZK7+eomgvkpmj5UQWYKU/ydjZkEUFBTnDhCPC29ZUQzjYyps/jvSKll0swxWKar LjxtlsS4gYfgRuQDQtr8boPO4MrASyQ6RuCSZfXcocHzS1MtNBZOvIIPWnI+6kzngugx F4Z+OHC/x/8APnG/njQrZMYJSEQoAI4qDjfxcGh5Xui8aXasMd0Q9M97BPL08Z3hkK2O BJnc7HkK0jMxQxKx4SQz+y0rNSqklN8/3oT4gkT+K0bX7sTAsQ4RjHS94Dyz+wt0NBMn cOFg== 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:dkim-signature:dkim-filter :arc-authentication-results; bh=tLS1pa4oIL0QczfIUx+d+hkkz1w0Ufp8LN3JuPDAuAM=; b=QTA8fy6jsKr7Zc/MHv6dKGWesAnpE5vNGVoGzLEpvtXBkU77B/Kzzu2I2cb2IAyn0y 2QifCuVKP7xWJM+vgmcFJeKuGgU4kYUACu9Z8pSoSSiAnJiGuy5OfpbMCfiszlD/l3rd s4sW6nqoXHxGSqbd6Km/5xlOOSIbGEejoggWyc1UF6xNojkgm9cVTk8AaQJQprXAcCNr WYRyt/SNMpIDXpC1tvrjc5OSyEqJvV50BrYioMWHgdHj0bGt1YtqfxLsbEzI+S7dClq0 Oo0ZL3LVrDyZZDmAWrtKTMrPbm6F4jRGV4nAonizAJ0iXeNh7OqZfyr9zCZ/j8iYKsbS /ZLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=fcuuUvkP; 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 u27si8980760pfa.361.2017.09.12.22.23.17; Tue, 12 Sep 2017 22:23:17 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=fcuuUvkP; 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 S1751413AbdIMFW7 (ORCPT + 26 others); Wed, 13 Sep 2017 01:22:59 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:35871 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751015AbdIMFWy (ORCPT ); Wed, 13 Sep 2017 01:22:54 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id v8D5Kpx2010397; Wed, 13 Sep 2017 14:20:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v8D5Kpx2010397 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1505280054; bh=tLS1pa4oIL0QczfIUx+d+hkkz1w0Ufp8LN3JuPDAuAM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fcuuUvkPfy11MOoXJPQ+JQBggayHDmBxn6VJ4ipzJUKfWxBRI4LszVczG0utrTdlh TmY1dNmiOmvN451VFdsr86VNo7iPxbkpuVPvxcIK0IC47GFQUhoTcXePTdov8F7vYT fpimdH9NuAIsUICJen2hdxGsa2eYGyIbihBzt0VoyPtSeZCo5quC3iihicRR4BzOsr w/oZ5GAKCRs2RQ8nS9welWb4kdU2pTj2yk2EuPuDPPgZ1cNeMIiap8PFE+9cnZ/Q4x 0gLjROctyIbq3heZhn8WIg8xgkBpMGSWt9S4O5tLmfUzhyWiukwTm4Wl3cD+P6IRa0 cNJ2TwG64JIjQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-mtd@lists.infradead.org Cc: Masahiro Yamada , Cyrille Pitchen , linux-kernel@vger.kernel.org, Boris Brezillon , Marek Vasut , Brian Norris , Richard Weinberger , David Woodhouse Subject: [PATCH 3/9] mtd: nand: denali: consolidate include directives Date: Wed, 13 Sep 2017 14:20:40 +0900 Message-Id: <1505280046-16608-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1505280046-16608-1-git-send-email-yamada.masahiro@socionext.com> References: <1505280046-16608-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Include necessary headers explicitly without relying on indirect header inclusion. Also, sort them alphabetically. , , turned out bogus, so removed. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 12 +++++++----- drivers/mtd/nand/denali.h | 3 +++ drivers/mtd/nand/denali_dt.c | 3 ++- drivers/mtd/nand/denali_pci.c | 3 +++ 4 files changed, 15 insertions(+), 6 deletions(-) -- 2.7.4 diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index 48193f9..4daeb7f 100644 --- a/drivers/mtd/nand/denali.c +++ b/drivers/mtd/nand/denali.c @@ -16,14 +16,16 @@ * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. * */ -#include -#include + +#include #include -#include -#include -#include +#include +#include #include +#include +#include #include +#include #include "denali.h" diff --git a/drivers/mtd/nand/denali.h b/drivers/mtd/nand/denali.h index 9239e67..dc3f970 100644 --- a/drivers/mtd/nand/denali.h +++ b/drivers/mtd/nand/denali.h @@ -21,7 +21,10 @@ #define __DENALI_H__ #include +#include #include +#include +#include #define DEVICE_RESET 0x0 #define DEVICE_RESET__BANK(bank) BIT(bank) diff --git a/drivers/mtd/nand/denali_dt.c b/drivers/mtd/nand/denali_dt.c index 56e2e17..01e0100 100644 --- a/drivers/mtd/nand/denali_dt.c +++ b/drivers/mtd/nand/denali_dt.c @@ -12,15 +12,16 @@ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. */ + #include #include #include #include #include #include -#include #include #include +#include #include "denali.h" diff --git a/drivers/mtd/nand/denali_pci.c b/drivers/mtd/nand/denali_pci.c index 81370c7..7d5600b 100644 --- a/drivers/mtd/nand/denali_pci.c +++ b/drivers/mtd/nand/denali_pci.c @@ -11,6 +11,9 @@ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. */ + +#include +#include #include #include #include