From patchwork Fri Sep 22 03:46: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: 113951 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp2798263qgf; Thu, 21 Sep 2017 20:49:32 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBC0yi1jYrjtcVkBBjP6wCDbyrrWqNgjABh40DlSQUNon1oAegK2+z/+p2iPx57jW+CdWPc X-Received: by 10.98.211.76 with SMTP id q73mr7791945pfg.348.1506052172169; Thu, 21 Sep 2017 20:49:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506052172; cv=none; d=google.com; s=arc-20160816; b=YDUMx3kZcadjMV+8ckswsaXwbchd1uDtxp5ODArFfwcMVXumh0ynGZDW2FspQA/jZR Pk1GbCFNOm6uGHL3elN/e/BkJpinYxDlpIMT1p5BGuHmfHItSckIKtrZq1Q6G1c/VcT4 45QcqJSmwUYRpC+Rb4EaIDQcYb0v3L+vYPvV8AOZuj8avQmWh/+ELDfHNDEFuWuoSK2A EaLQhiBmPya3b3ybjrm+ag9Biy9kJTGmpTJPIDfb9UxXGPQgzf27Pa+sIKS1j9Ja4W1H +RxKvZjKlWR7/TROEqShjLTa2pOQ3hdXIZK7tjkO9tLPyEftGX/sFF3Qf2e6od9g8/W5 LhhA== 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=nCxCYJ4o/HY6G4JSiifqz9J7Vody8AeKbn7ojOw1fz4=; b=e+il61jhGeGDeKJMZAwbDhlA/Zzb8W8bNQiMasMWMRNy+cWoHhjnMtpHefmljvH3WD k06hC/fCYdx9PFO5lCcAUPnWXQB+DAOv61jlkb2h4M3XW3djXMe38yzOrWq2Hf97IJCR qiedGJxFsja1Y7QHhUSumvGxPdYuL2nUeoE5MJZISJdMNN65CHFI8KfFsLxbTs24FJ+6 XKqLieL0ncQoME2Y3iN+Ox2gr7cv4Dz4daClg4tpoUSEfNqNfnv3CuHbg4JpVpmSK4Np S9Xo0zNrFvaWPUJOt7xwk19tgtngn1xY9WQS8rNL7lk+qtOawvJvZswndtOMCCcoLcHf ExAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=wcXeahkJ; 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 m68si2008494pfm.561.2017.09.21.20.49.31; Thu, 21 Sep 2017 20:49:32 -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=wcXeahkJ; 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 S1751985AbdIVDt3 (ORCPT + 26 others); Thu, 21 Sep 2017 23:49:29 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:59712 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751890AbdIVDtA (ORCPT ); Thu, 21 Sep 2017 23:49:00 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v8M3kwAM029389; Fri, 22 Sep 2017 12:47:01 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v8M3kwAM029389 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1506052022; bh=nCxCYJ4o/HY6G4JSiifqz9J7Vody8AeKbn7ojOw1fz4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wcXeahkJc70zqin3WcTMD3oGkvnxcIebfbV2E05WMf6rrLaZr4nxXRjVznlsvXiJf vVbKJQWtyuRe11EG4eisjDdm6Nkx4TtKDzToi0V423eLl22fWEhhAfSXC01qNn3k3o oWA33xdtwBzTMMlxjOaOF691pVDvHqgR0DzzbpClrMGMt+1P2bUPjf7+f4/Vv0M785 y1MZmq160FEw8tQURAKyJMq3azHG1cArx8w6rGyTu2Bd6XfZZ3HjXaQI+Pz+TTW118 CjlSEArWdHEbkVmpzN6BXmzio/wUa26taL22CvfeamRP4L6Y2hGi2gqA/Be1oHHPuq keveTZn6+HtGA== 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 v2 03/12] mtd: nand: denali: consolidate include directives Date: Fri, 22 Sep 2017 12:46:40 +0900 Message-Id: <1506052009-8285-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1506052009-8285-1-git-send-email-yamada.masahiro@socionext.com> References: <1506052009-8285-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 --- Changes in v2: None 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