diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-21 11:28:57 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-23 22:25:27 -0400 |
commit | 5d97dff0424e3ae5c4325a04e662a6b60b8deb67 (patch) | |
tree | 408af3d807ac8b841d8fb89efd01b2ec15390761 /drivers/net | |
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 'drivers/net')
-rw-r--r-- | drivers/net/macb.c | 2 | ||||
-rw-r--r-- | drivers/net/xilinx_emaclite.c | 2 | ||||
-rw-r--r-- | drivers/net/zynq_gem.c | 2 |
3 files changed, 3 insertions, 3 deletions
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 <asm/io.h> #include <asm/dma-mapping.h> #include <asm/arch/clk.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> #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 <phy.h> #include <miiphy.h> #include <fdtdec.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> #include <linux/kernel.h> #include <asm/io.h> 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 <asm/system.h> #include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> DECLARE_GLOBAL_DATA_PTR; |