From 5d97dff0424e3ae5c4325a04e662a6b60b8deb67 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Wed, 21 Sep 2016 11:28:57 +0900 Subject: [PATCH] treewide: replace #include with 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 [trini: Add drivers/usb/host/xhci-rockchip.c] Signed-off-by: Tom Rini --- 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-rockchip.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 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/arch/arm/imx-common/rdc-sema.c b/arch/arm/imx-common/rdc-sema.c index dcb5c419ee..5df4e02b53 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 ff042a6db2..bbea74a879 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 d24b8fc045..38c6f9486b 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 887e88c9ca..a63eba389d 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 b0d063c698..fdaf1e40bc 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 921537f8a4..8c1774e6a9 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 d86e7a3954..78ff44c561 100644 --- a/drivers/net/xilinx_emaclite.c +++ b/drivers/net/xilinx_emaclite.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 519699d8ff..8b7c1be5d9 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 a4b6741676..ef3ff0dbf6 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 bede04b748..53281d78b3 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 28416ed106..82fcd84ef2 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 6ff450cc75..bda5b5f913 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 924fb7616f..f322a803fe 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 37444526f7..62db51d018 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 fd19f79f0f..b881b198fc 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 5a1391fbe3..2675a8f649 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-rockchip.c b/drivers/usb/host/xhci-rockchip.c index 561bf86702..8cbcb8f923 100644 --- a/drivers/usb/host/xhci-rockchip.c +++ b/drivers/usb/host/xhci-rockchip.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/usb/host/xhci-zynqmp.c b/drivers/usb/host/xhci-zynqmp.c index a7353698d7..cec1bc46d0 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 cb8a04b793..3201177476 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 1993da16ea..7c7fba21f4 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 97228cd3cc..5483d6613f 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 15ece2f97f..e0c670a16c 100644 --- a/include/errno.h +++ b/include/errno.h @@ -7,7 +7,7 @@ #ifndef _ERRNO_H #define _ERRNO_H -#include +#include extern int errno; -- 2.39.5