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>
This commit is contained in:
committed by
Tom Rini
parent
4491327d59
commit
5d97dff042
@@ -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"
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user