From patchwork Wed Sep 21 02:28:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 76647 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1793744qgf; Tue, 20 Sep 2016 19:29:03 -0700 (PDT) X-Received: by 10.28.155.212 with SMTP id d203mr806364wme.103.1474424943303; Tue, 20 Sep 2016 19:29:03 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id 67si27124964wmb.36.2016.09.20.19.29.03; Tue, 20 Sep 2016 19:29:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 02BB5B383D; Wed, 21 Sep 2016 04:28:13 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hlahXTQpxt1s; Wed, 21 Sep 2016 04:28:12 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BDE04B386D; Wed, 21 Sep 2016 04:28:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BDE49B3837 for ; Wed, 21 Sep 2016 04:27:59 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HDLspJoq-Kze for ; Wed, 21 Sep 2016 04:27:59 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 IN_IX_MANITU=4.35 (only DNSBL check requested) Received: from conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by theia.denx.de (Postfix) with ESMTPS id 15CF6A755F for ; Wed, 21 Sep 2016 04:27:32 +0200 (CEST) Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id u8L2QubV012826; Wed, 21 Sep 2016 11:27:01 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com u8L2QubV012826 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1474424821; bh=pViDjKDZVIjwfKP+a543qKykt0+o0ElxAjsNb0/rmik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zcTHT2OmY8dsXa13/UDG0NGUqlEVKUVhTIkCeFxIAUG6zPlG8aYFpRa84e0GkvCNK OTPrBhi8b41RlOhDz2SMeOGzhsi+fClSUVpsrMxLQYxHJmGc3P7vsLH1SQTq6EjXVl /nFVRnVJyYMZsirDGOoWRqPSUGob03Ae80QRfoXFmxNh/qVn/iTUmcfIN8dz0rJ8mI WIwjGfkg7wxY/9bzSKqBlj5D4z1tny3Bjs0MrDCPH3lTMbO3WBKLf9VGHeFJ7/Xkpp ntUSo+CTXl6brtRd/j9vpahzFf9cKZeE2pXjcn675uZM7PsIyGJmau20h26siWXD+j uhObKBVF3nIrg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Wed, 21 Sep 2016 11:28:53 +0900 Message-Id: <1474424946-16085-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1474424946-16085-1-git-send-email-yamada.masahiro@socionext.com> References: <1474424946-16085-1-git-send-email-yamada.masahiro@socionext.com> Cc: Marek Vasut , Tom Rini , Alexey Brodkin Subject: [U-Boot] [RESEND PATCH 01/10] treewide: use #include <...> to include public headers X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" We are supposed to use #include <...> to include headers in the public include paths. We should use #include "..." only for headers in local directories. Signed-off-by: Masahiro Yamada --- arch/powerpc/cpu/mpc83xx/qe_io.c | 8 ++++---- arch/powerpc/cpu/mpc85xx/qe_io.c | 8 ++++---- board/esd/common/lcd.c | 2 +- board/htkw/mcx/mcx.c | 2 +- drivers/qe/qe.c | 8 ++++---- drivers/qe/uccf.c | 10 +++++----- drivers/qe/uec.c | 12 ++++++------ drivers/qe/uec_phy.c | 12 ++++++------ fs/yaffs2/yaffs_mtdif.c | 8 ++++---- fs/yaffs2/yaffs_mtdif2.c | 8 ++++---- fs/yaffs2/ydirectenv.h | 2 +- include/linux/mtd/nand.h | 10 +++++----- 12 files changed, 45 insertions(+), 45 deletions(-) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/arch/powerpc/cpu/mpc83xx/qe_io.c b/arch/powerpc/cpu/mpc83xx/qe_io.c index 106704d..0e605f8 100644 --- a/arch/powerpc/cpu/mpc83xx/qe_io.c +++ b/arch/powerpc/cpu/mpc83xx/qe_io.c @@ -7,10 +7,10 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#include "common.h" -#include "asm/errno.h" -#include "asm/io.h" -#include "asm/immap_83xx.h" +#include +#include +#include +#include #define NUM_OF_PINS 32 void qe_config_iopin(u8 port, u8 pin, int dir, int open_drain, int assign) diff --git a/arch/powerpc/cpu/mpc85xx/qe_io.c b/arch/powerpc/cpu/mpc85xx/qe_io.c index d2825ec..d805c22 100644 --- a/arch/powerpc/cpu/mpc85xx/qe_io.c +++ b/arch/powerpc/cpu/mpc85xx/qe_io.c @@ -7,10 +7,10 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#include "common.h" -#include "asm/errno.h" -#include "asm/io.h" -#include "asm/immap_85xx.h" +#include +#include +#include +#include #if defined(CONFIG_QE) && !defined(CONFIG_U_QE) #define NUM_OF_PINS 32 diff --git a/board/esd/common/lcd.c b/board/esd/common/lcd.c index 22a59e4..29421fc 100644 --- a/board/esd/common/lcd.c +++ b/board/esd/common/lcd.c @@ -8,7 +8,7 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#include "asm/io.h" +#include #include "lcd.h" diff --git a/board/htkw/mcx/mcx.c b/board/htkw/mcx/mcx.c index 4330cf0..5ef383d 100644 --- a/board/htkw/mcx/mcx.c +++ b/board/htkw/mcx/mcx.c @@ -17,7 +17,7 @@ #include #include #include -#include "errno.h" +#include #include #ifdef CONFIG_USB_EHCI #include diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c index 2b98984..7e74212 100644 --- a/drivers/qe/qe.c +++ b/drivers/qe/qe.c @@ -7,11 +7,11 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#include "common.h" +#include #include -#include "asm/errno.h" -#include "asm/io.h" -#include "linux/immap_qe.h" +#include +#include +#include #include #ifdef CONFIG_LS102XA #include diff --git a/drivers/qe/uccf.c b/drivers/qe/uccf.c index e011886..ae4ca35 100644 --- a/drivers/qe/uccf.c +++ b/drivers/qe/uccf.c @@ -7,11 +7,11 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#include "common.h" -#include "malloc.h" -#include "asm/errno.h" -#include "asm/io.h" -#include "linux/immap_qe.h" +#include +#include +#include +#include +#include #include "uccf.h" #include diff --git a/drivers/qe/uec.c b/drivers/qe/uec.c index 468c92e..af97538 100644 --- a/drivers/qe/uec.c +++ b/drivers/qe/uec.c @@ -6,12 +6,12 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#include "common.h" -#include "net.h" -#include "malloc.h" -#include "asm/errno.h" -#include "asm/io.h" -#include "linux/immap_qe.h" +#include +#include +#include +#include +#include +#include #include "uccf.h" #include "uec.h" #include "uec_phy.h" diff --git a/drivers/qe/uec_phy.c b/drivers/qe/uec_phy.c index 272874d..be90d94 100644 --- a/drivers/qe/uec_phy.c +++ b/drivers/qe/uec_phy.c @@ -10,12 +10,12 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#include "common.h" -#include "net.h" -#include "malloc.h" -#include "asm/errno.h" -#include "linux/immap_qe.h" -#include "asm/io.h" +#include +#include +#include +#include +#include +#include #include "uccf.h" #include "uec.h" #include "uec_phy.h" diff --git a/fs/yaffs2/yaffs_mtdif.c b/fs/yaffs2/yaffs_mtdif.c index 6fcba04..636c777 100644 --- a/fs/yaffs2/yaffs_mtdif.c +++ b/fs/yaffs2/yaffs_mtdif.c @@ -19,10 +19,10 @@ #include "yaffs_mtdif.h" -#include "linux/mtd/mtd.h" -#include "linux/types.h" -#include "linux/time.h" -#include "linux/mtd/nand.h" +#include +#include +#include +#include static inline void translate_spare2oob(const struct yaffs_spare *spare, u8 *oob) diff --git a/fs/yaffs2/yaffs_mtdif2.c b/fs/yaffs2/yaffs_mtdif2.c index 234cb70..777486c 100644 --- a/fs/yaffs2/yaffs_mtdif2.c +++ b/fs/yaffs2/yaffs_mtdif2.c @@ -15,16 +15,16 @@ /* XXX U-BOOT XXX */ #include -#include "asm/errno.h" +#include #include "yportenv.h" #include "yaffs_trace.h" #include "yaffs_mtdif2.h" -#include "linux/mtd/mtd.h" -#include "linux/types.h" -#include "linux/time.h" +#include +#include +#include #include "yaffs_trace.h" #include "yaffs_packedtags2.h" diff --git a/fs/yaffs2/ydirectenv.h b/fs/yaffs2/ydirectenv.h index 2b3e84f..d274f22 100644 --- a/fs/yaffs2/ydirectenv.h +++ b/fs/yaffs2/ydirectenv.h @@ -75,7 +75,7 @@ void yaffs_qsort(void *aa, size_t n, size_t es, #define YAFFS_ROOT_MODE 0666 #define YAFFS_LOSTNFOUND_MODE 0666 -#include "linux/list.h" +#include #include "yaffsfs.h" diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 87d72db..d55807b 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -16,12 +16,12 @@ #ifndef __LINUX_MTD_NAND_H #define __LINUX_MTD_NAND_H -#include "config.h" +#include -#include "linux/compat.h" -#include "linux/mtd/mtd.h" -#include "linux/mtd/flashchip.h" -#include "linux/mtd/bbm.h" +#include +#include +#include +#include struct mtd_info; struct nand_flash_dev;