diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-21 02:28:57 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-24 02:25:27 (GMT) |
commit | 5d97dff0424e3ae5c4325a04e662a6b60b8deb67 (patch) | |
tree | 408af3d807ac8b841d8fb89efd01b2ec15390761 /drivers/usb | |
parent | 4491327d59179a212e36f1889bd143c99159138b (diff) | |
download | u-boot-5d97dff0424e3ae5c4325a04e662a6b60b8deb67.tar.xz |
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/usb')
-rw-r--r-- | drivers/usb/host/ehci-exynos.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/xhci-exynos5.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/xhci-fsl.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/xhci-keystone.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/xhci-mem.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/xhci-omap.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/xhci-ring.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/xhci-rockchip.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/xhci-zynqmp.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/xhci.c | 2 | ||||
-rw-r--r-- | drivers/usb/phy/omap_usb_phy.c | 2 |
11 files changed, 11 insertions, 11 deletions
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 <asm/arch/system.h> #include <asm/arch/power.h> #include <asm/gpio.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> #include <linux/compat.h> #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 <asm/arch/power.h> #include <asm/arch/xhci-exynos.h> #include <asm/gpio.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> #include <linux/compat.h> #include <linux/usb/dwc3.h> diff --git a/drivers/usb/host/xhci-fsl.c b/drivers/usb/host/xhci-fsl.c index 6ff450c..bda5b5f 100644 --- a/drivers/usb/host/xhci-fsl.c +++ b/drivers/usb/host/xhci-fsl.c @@ -10,7 +10,7 @@ #include <common.h> #include <usb.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> #include <linux/compat.h> #include <linux/usb/xhci-fsl.h> #include <linux/usb/dwc3.h> 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 <asm/io.h> #include <linux/usb/dwc3.h> #include <asm/arch/xhci-keystone.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> #include <linux/list.h> #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 <usb.h> #include <malloc.h> #include <asm/cache.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> #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 <common.h> #include <usb.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> #include <asm/omap_common.h> #include <asm/arch/cpu.h> #include <asm/arch/sys_proto.h> 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 <asm/byteorder.h> #include <usb.h> #include <asm/unaligned.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> #include "xhci.h" diff --git a/drivers/usb/host/xhci-rockchip.c b/drivers/usb/host/xhci-rockchip.c index 561bf86..8cbcb8f 100644 --- a/drivers/usb/host/xhci-rockchip.c +++ b/drivers/usb/host/xhci-rockchip.c @@ -12,7 +12,7 @@ #include <usb.h> #include <watchdog.h> #include <asm/gpio.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> #include <linux/compat.h> #include <linux/usb/dwc3.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 <common.h> #include <usb.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> #include <asm/arch-zynqmp/hardware.h> #include <linux/compat.h> #include <linux/usb/dwc3.h> 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 <watchdog.h> #include <asm/cache.h> #include <asm/unaligned.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> #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 <common.h> #include <usb.h> -#include <asm-generic/errno.h> +#include <linux/errno.h> #include <asm/omap_common.h> #include <asm/arch/cpu.h> #include <asm/arch/sys_proto.h> |