From patchwork Wed Sep 21 02:28:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 76653 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1794096qgf; Tue, 20 Sep 2016 19:30:08 -0700 (PDT) X-Received: by 10.194.105.37 with SMTP id gj5mr35828622wjb.113.1474425008339; Tue, 20 Sep 2016 19:30:08 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id 17si27973412wmg.21.2016.09.20.19.30.08; Tue, 20 Sep 2016 19:30:08 -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 A22CDB3893; Wed, 21 Sep 2016 04:28:54 +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 8dnLkBjwFYxb; Wed, 21 Sep 2016 04:28:54 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2A5B4B3863; Wed, 21 Sep 2016 04:28:23 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4EDAEB3830 for ; Wed, 21 Sep 2016 04:28:12 +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 2PAn2k8W-pEK for ; Wed, 21 Sep 2016 04:28:12 +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 13E5FB3835 for ; Wed, 21 Sep 2016 04:27:49 +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 u8L2QubZ012826; Wed, 21 Sep 2016 11:27:09 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com u8L2QubZ012826 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1474424830; bh=JcenvKV0KJ/anS389mxnLHWLJJEVgu867P7quMOj7Ns=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DYP0Q+1MGak/u67ospNHTqhxDw3AghAmECIruj2dz7bRkkrgEVSaQrHZl+VgZYNxL ciltEV1opFieLiHEanvo5LMMFOSFUBNPSK5cm9r44nQigDl8glpeqRi6TE/GZxgvhr Dj5HqHyH6aNoptNZjuTzQm6DZHMpTNPIi7tTaEDy8zgrBROrKXdDfHUHtqHezPAm43 vEqVJWP++0uO9KGxuXBiDSZsRWucbcXbhWclKEc2CL4x3ua5MpDx4l7lOuhh+23LoB bPhtwuarXutODllpEispN0r/HFsQ3JOFMWrOFIgvGT5FwqqY2f0yDA2WimhGo+ZeD6 Rgnt/n/qelOxA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Wed, 21 Sep 2016 11:28:57 +0900 Message-Id: <1474424946-16085-6-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 , Joe Hershberger , Alexey Brodkin Subject: [U-Boot] [RESEND PATCH 05/10] treewide: replace #include with 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" Now, include/linux/errno.h is a wrapper of . Replace all include directives for with . is supposed to be included from when arch-headers fall back into generic implementation. Generally, they should not be directly included from .c files. Signed-off-by: Masahiro Yamada --- arch/arm/imx-common/rdc-sema.c | 2 +- arch/arm/mach-keystone/psc.c | 2 +- drivers/crypto/fsl/fsl_blob.c | 2 +- drivers/crypto/fsl/fsl_hash.c | 2 +- drivers/mmc/hi6220_dw_mmc.c | 2 +- drivers/net/macb.c | 2 +- drivers/net/xilinx_emaclite.c | 2 +- drivers/net/zynq_gem.c | 2 +- drivers/tpm/tpm_tis_infineon.c | 2 +- drivers/usb/host/ehci-exynos.c | 2 +- drivers/usb/host/xhci-exynos5.c | 2 +- drivers/usb/host/xhci-fsl.c | 2 +- drivers/usb/host/xhci-keystone.c | 2 +- drivers/usb/host/xhci-mem.c | 2 +- drivers/usb/host/xhci-omap.c | 2 +- drivers/usb/host/xhci-ring.c | 2 +- drivers/usb/host/xhci-zynqmp.c | 2 +- drivers/usb/host/xhci.c | 2 +- drivers/usb/phy/omap_usb_phy.c | 2 +- drivers/video/exynos/exynos_fb.c | 2 +- include/errno.h | 2 +- 21 files changed, 21 insertions(+), 21 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/arm/imx-common/rdc-sema.c b/arch/arm/imx-common/rdc-sema.c index dcb5c41..5df4e02 100644 --- a/arch/arm/imx-common/rdc-sema.c +++ b/arch/arm/imx-common/rdc-sema.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include /* * Check if the RDC Semaphore is required for this peripheral. diff --git a/arch/arm/mach-keystone/psc.c b/arch/arm/mach-keystone/psc.c index ff042a6..bbea74a 100644 --- a/arch/arm/mach-keystone/psc.c +++ b/arch/arm/mach-keystone/psc.c @@ -8,7 +8,7 @@ */ #include -#include +#include #include #include #include diff --git a/drivers/crypto/fsl/fsl_blob.c b/drivers/crypto/fsl/fsl_blob.c index d24b8fc..38c6f94 100644 --- a/drivers/crypto/fsl/fsl_blob.c +++ b/drivers/crypto/fsl/fsl_blob.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include "jobdesc.h" #include "desc.h" #include "jr.h" diff --git a/drivers/crypto/fsl/fsl_hash.c b/drivers/crypto/fsl/fsl_hash.c index 887e88c..a63eba3 100644 --- a/drivers/crypto/fsl/fsl_hash.c +++ b/drivers/crypto/fsl/fsl_hash.c @@ -12,7 +12,7 @@ #include "jr.h" #include "fsl_hash.h" #include -#include +#include #define CRYPTO_MAX_ALG_NAME 80 #define SHA1_DIGEST_SIZE 20 diff --git a/drivers/mmc/hi6220_dw_mmc.c b/drivers/mmc/hi6220_dw_mmc.c index b0d063c..fdaf1e4 100644 --- a/drivers/mmc/hi6220_dw_mmc.c +++ b/drivers/mmc/hi6220_dw_mmc.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #define DWMMC_MAX_CH_NUM 4 diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 921537f..8c1774e 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -39,7 +39,7 @@ #include #include #include -#include +#include #include "macb.h" diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index 7b85aa0..beacb31 100644 --- a/drivers/net/xilinx_emaclite.c +++ b/drivers/net/xilinx_emaclite.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 519699d..8b7c1be 100644 --- a/drivers/net/zynq_gem.c +++ b/drivers/net/zynq_gem.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/tpm/tpm_tis_infineon.c b/drivers/tpm/tpm_tis_infineon.c index a4b6741..ef3ff0d 100644 --- a/drivers/tpm/tpm_tis_infineon.c +++ b/drivers/tpm/tpm_tis_infineon.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/usb/host/ehci-exynos.c index bede04b..53281d7 100644 --- a/drivers/usb/host/ehci-exynos.c +++ b/drivers/usb/host/ehci-exynos.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include #include "ehci.h" diff --git a/drivers/usb/host/xhci-exynos5.c b/drivers/usb/host/xhci-exynos5.c index 28416ed..82fcd84 100644 --- a/drivers/usb/host/xhci-exynos5.c +++ b/drivers/usb/host/xhci-exynos5.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/usb/host/xhci-fsl.c b/drivers/usb/host/xhci-fsl.c index bdcd4f1..a5fc023 100644 --- a/drivers/usb/host/xhci-fsl.c +++ b/drivers/usb/host/xhci-fsl.c @@ -10,7 +10,7 @@ #include #include -#include +#include #include #include #include diff --git a/drivers/usb/host/xhci-keystone.c b/drivers/usb/host/xhci-keystone.c index 924fb76..f322a80 100644 --- a/drivers/usb/host/xhci-keystone.c +++ b/drivers/usb/host/xhci-keystone.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include "xhci.h" diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c index 3744452..62db51d 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include "xhci.h" diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c index fd19f79..b881b19 100644 --- a/drivers/usb/host/xhci-omap.c +++ b/drivers/usb/host/xhci-omap.c @@ -11,7 +11,7 @@ #include #include -#include +#include #include #include #include diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 5a1391f..2675a8f 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include "xhci.h" diff --git a/drivers/usb/host/xhci-zynqmp.c b/drivers/usb/host/xhci-zynqmp.c index a735369..cec1bc4 100644 --- a/drivers/usb/host/xhci-zynqmp.c +++ b/drivers/usb/host/xhci-zynqmp.c @@ -12,7 +12,7 @@ #include #include -#include +#include #include #include #include diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index cb8a04b..3201177 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include "xhci.h" #ifndef CONFIG_USB_MAX_CONTROLLER_COUNT diff --git a/drivers/usb/phy/omap_usb_phy.c b/drivers/usb/phy/omap_usb_phy.c index 1993da1..7c7fba2 100644 --- a/drivers/usb/phy/omap_usb_phy.c +++ b/drivers/usb/phy/omap_usb_phy.c @@ -11,7 +11,7 @@ #include #include -#include +#include #include #include #include diff --git a/drivers/video/exynos/exynos_fb.c b/drivers/video/exynos/exynos_fb.c index 97228cd..5483d66 100644 --- a/drivers/video/exynos/exynos_fb.c +++ b/drivers/video/exynos/exynos_fb.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/include/errno.h b/include/errno.h index 15ece2f..e0c670a 100644 --- a/include/errno.h +++ b/include/errno.h @@ -7,7 +7,7 @@ #ifndef _ERRNO_H #define _ERRNO_H -#include +#include extern int errno;