diff options
author | Masahiro Yamada | 2016-09-21 11:28:57 +0900 |
---|---|---|
committer | Tom Rini | 2016-09-23 22:25:27 -0400 |
commit | 5d97dff0424e3ae5c4325a04e662a6b60b8deb67 (patch) | |
tree | 408af3d807ac8b841d8fb89efd01b2ec15390761 /arch/arm | |
parent | 4491327d59179a212e36f1889bd143c99159138b (diff) |
treewide: replace #include <asm-generic/errno.h> with <linux/errno.h>
Now, include/linux/errno.h is a wrapper of <asm-generic/errno.h>.
Replace all include directives for <asm-generic/errno.h> with
<linux/errno.h>.
<asm-generic/...> is supposed to be included from <asm/...> when
arch-headers fall back into generic implementation. Generally, they
should not be directly included from .c files.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
[trini: Add drivers/usb/host/xhci-rockchip.c]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/imx-common/rdc-sema.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-keystone/psc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/imx-common/rdc-sema.c b/arch/arm/imx-common/rdc-sema.c index dcb5c419ee7..5df4e02b53b 100644 --- a/arch/arm/imx-common/rdc-sema.c +++ b/arch/arm/imx-common/rdc-sema.c @@ -8,7 +8,7 @@ #include <asm/arch/imx-regs.h> #include <asm/imx-common/rdc-sema.h> #include <asm/arch/imx-rdc.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> /* * 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 ff042a6db2d..bbea74a879a 100644 --- a/arch/arm/mach-keystone/psc.c +++ b/arch/arm/mach-keystone/psc.c @@ -8,7 +8,7 @@ */ #include <common.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/processor.h> #include <asm/arch/psc_defs.h> |