diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:40:11 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 21:19:23 -0400 |
commit | c05ed00afb95fa5237f16962fccf5810437317bf (patch) | |
tree | 19bb43dd3c7d12205fffb104db7c799d0a37af9f /drivers/usb | |
parent | 07e1114671c8b13d1bb90548a3c5ea31c49415d1 (diff) | |
download | u-boot-c05ed00afb95fa5237f16962fccf5810437317bf.tar.gz |
common: Drop linux/delay.h from common header
Move this uncommon header out of the common header.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/usb')
60 files changed, 60 insertions, 0 deletions
diff --git a/drivers/usb/cdns3/ep0.c b/drivers/usb/cdns3/ep0.c index 4266bd630c..4a6374c492 100644 --- a/drivers/usb/cdns3/ep0.c +++ b/drivers/usb/cdns3/ep0.c @@ -13,6 +13,7 @@ #include <cpu_func.h> #include <asm/cache.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/usb/composite.h> #include <linux/iopoll.h> diff --git a/drivers/usb/cdns3/gadget.c b/drivers/usb/cdns3/gadget.c index caed27c32f..f5b6e5be64 100644 --- a/drivers/usb/cdns3/gadget.c +++ b/drivers/usb/cdns3/gadget.c @@ -59,6 +59,7 @@ #include <dm.h> #include <dm/device_compat.h> #include <dm/devres.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/usb/gadget.h> #include <linux/compat.h> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index f21dd2bad8..8d418c9412 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -20,6 +20,7 @@ #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/dma-mapping.h> #include <linux/err.h> #include <linux/ioport.h> diff --git a/drivers/usb/dwc3/dwc3-meson-g12a.c b/drivers/usb/dwc3/dwc3-meson-g12a.c index f66f083453..6567502cdd 100644 --- a/drivers/usb/dwc3/dwc3-meson-g12a.c +++ b/drivers/usb/dwc3/dwc3-meson-g12a.c @@ -14,6 +14,7 @@ #include <dm/lists.h> #include <dwc3-uboot.h> #include <generic-phy.h> +#include <linux/delay.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> #include <malloc.h> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 8945abc396..2aec874e1d 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -20,6 +20,7 @@ #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/dma-mapping.h> #include <linux/list.h> diff --git a/drivers/usb/dwc3/samsung_usb_phy.c b/drivers/usb/dwc3/samsung_usb_phy.c index 677061458c..abbd413689 100644 --- a/drivers/usb/dwc3/samsung_usb_phy.c +++ b/drivers/usb/dwc3/samsung_usb_phy.c @@ -10,6 +10,7 @@ #include <common.h> #include <asm/arch/power.h> #include <asm/arch/xhci-exynos.h> +#include <linux/delay.h> void exynos5_usb3_phy_init(struct exynos_usb3_phy *phy) { diff --git a/drivers/usb/dwc3/ti_usb_phy.c b/drivers/usb/dwc3/ti_usb_phy.c index 6b0166a1e0..ade3a7f85c 100644 --- a/drivers/usb/dwc3/ti_usb_phy.c +++ b/drivers/usb/dwc3/ti_usb_phy.c @@ -21,6 +21,7 @@ #include <ti-usb-phy-uboot.h> #include <dm/device_compat.h> #include <dm/devres.h> +#include <linux/delay.h> #include <linux/ioport.h> #include <asm/io.h> #include <asm/arch/sys_proto.h> diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c index 5f56f6f2dd..db75ae2498 100644 --- a/drivers/usb/eth/asix.c +++ b/drivers/usb/eth/asix.c @@ -12,6 +12,7 @@ #include <usb.h> #include <malloc.h> #include <memalign.h> +#include <linux/delay.h> #include <linux/mii.h> #include "usb_ether.h" diff --git a/drivers/usb/eth/asix88179.c b/drivers/usb/eth/asix88179.c index b4a56390b3..381bef2bed 100644 --- a/drivers/usb/eth/asix88179.c +++ b/drivers/usb/eth/asix88179.c @@ -10,6 +10,7 @@ #include <log.h> #include <usb.h> #include <net.h> +#include <linux/delay.h> #include <linux/mii.h> #include "usb_ether.h" #include <malloc.h> diff --git a/drivers/usb/eth/mcs7830.c b/drivers/usb/eth/mcs7830.c index b8fe65237d..0cb7dbc8fb 100644 --- a/drivers/usb/eth/mcs7830.c +++ b/drivers/usb/eth/mcs7830.c @@ -14,6 +14,7 @@ #include <errno.h> #include <log.h> #include <net.h> +#include <linux/delay.h> #include <linux/mii.h> #include <malloc.h> #include <memalign.h> diff --git a/drivers/usb/eth/r8152.c b/drivers/usb/eth/r8152.c index 1454d98d8f..61b8683230 100644 --- a/drivers/usb/eth/r8152.c +++ b/drivers/usb/eth/r8152.c @@ -12,6 +12,7 @@ #include <memalign.h> #include <net.h> #include <usb.h> +#include <linux/delay.h> #include <linux/mii.h> #include <linux/bitops.h> #include "usb_ether.h" diff --git a/drivers/usb/eth/r8152_fw.c b/drivers/usb/eth/r8152_fw.c index 4bf4066d7a..d564de285f 100644 --- a/drivers/usb/eth/r8152_fw.c +++ b/drivers/usb/eth/r8152_fw.c @@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <linux/delay.h> #include "usb_ether.h" #include "r8152.h" diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c index 82fea742b0..d3532df141 100644 --- a/drivers/usb/eth/smsc95xx.c +++ b/drivers/usb/eth/smsc95xx.c @@ -15,6 +15,7 @@ #include <net.h> #include <usb.h> #include <asm/unaligned.h> +#include <linux/delay.h> #include <linux/mii.h> #include "usb_ether.h" diff --git a/drivers/usb/gadget/bcm_udc_otg_phy.c b/drivers/usb/gadget/bcm_udc_otg_phy.c index 3ecb669507..c89cd57c25 100644 --- a/drivers/usb/gadget/bcm_udc_otg_phy.c +++ b/drivers/usb/gadget/bcm_udc_otg_phy.c @@ -8,6 +8,7 @@ #include <asm/io.h> #include <asm/arch/sysmap.h> #include <asm/kona-common/clk.h> +#include <linux/delay.h> #include "dwc2_udc_otg_priv.h" #include "bcm_udc_otg.h" diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c index 5677eab426..cdbdbcc5ca 100644 --- a/drivers/usb/gadget/ci_udc.c +++ b/drivers/usb/gadget/ci_udc.c @@ -15,6 +15,7 @@ #include <malloc.h> #include <asm/byteorder.h> #include <asm/cache.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/unaligned.h> diff --git a/drivers/usb/gadget/designware_udc.c b/drivers/usb/gadget/designware_udc.c index 70c5c678c3..7fc5d27d43 100644 --- a/drivers/usb/gadget/designware_udc.c +++ b/drivers/usb/gadget/designware_udc.c @@ -10,6 +10,7 @@ #include <common.h> #include <serial.h> #include <asm/io.h> +#include <linux/delay.h> #include <env.h> #include <usbdevice.h> diff --git a/drivers/usb/gadget/dwc2_udc_otg.c b/drivers/usb/gadget/dwc2_udc_otg.c index 32bf92752d..eaa5dcb9b1 100644 --- a/drivers/usb/gadget/dwc2_udc_otg.c +++ b/drivers/usb/gadget/dwc2_udc_otg.c @@ -27,6 +27,7 @@ #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/list.h> diff --git a/drivers/usb/gadget/dwc2_udc_otg_phy.c b/drivers/usb/gadget/dwc2_udc_otg_phy.c index c4338af0d7..7f8e9564b9 100644 --- a/drivers/usb/gadget/dwc2_udc_otg_phy.c +++ b/drivers/usb/gadget/dwc2_udc_otg_phy.c @@ -18,6 +18,7 @@ */ #include <common.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/list.h> #include <malloc.h> diff --git a/drivers/usb/gadget/f_thor.c b/drivers/usb/gadget/f_thor.c index 900eb96377..88fc87f2e9 100644 --- a/drivers/usb/gadget/f_thor.c +++ b/drivers/usb/gadget/f_thor.c @@ -23,6 +23,7 @@ #include <malloc.h> #include <memalign.h> #include <version.h> +#include <linux/delay.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> #include <linux/usb/composite.h> diff --git a/drivers/usb/gadget/fotg210.c b/drivers/usb/gadget/fotg210.c index 4211eea3a4..af43433d88 100644 --- a/drivers/usb/gadget/fotg210.c +++ b/drivers/usb/gadget/fotg210.c @@ -14,6 +14,7 @@ #include <net.h> #include <malloc.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/types.h> #include <linux/usb/ch9.h> diff --git a/drivers/usb/gadget/pxa25x_udc.c b/drivers/usb/gadget/pxa25x_udc.c index ebf1f4eb55..d19ac1d035 100644 --- a/drivers/usb/gadget/pxa25x_udc.c +++ b/drivers/usb/gadget/pxa25x_udc.c @@ -29,6 +29,7 @@ #include <malloc.h> #include <asm/io.h> #include <asm/arch/pxa.h> +#include <linux/delay.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c index 15c43782b8..ba362b8f25 100644 --- a/drivers/usb/gadget/pxa27x_udc.c +++ b/drivers/usb/gadget/pxa27x_udc.c @@ -13,6 +13,7 @@ #include <asm/byteorder.h> #include <asm/io.h> #include <usbdevice.h> +#include <linux/delay.h> #include <usb/pxa27x_udc.h> #include <usb/udc.h> diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c index 0d694f3d39..cefe9d83b1 100644 --- a/drivers/usb/host/dwc2.c +++ b/drivers/usb/host/dwc2.c @@ -20,6 +20,7 @@ #include <asm/cache.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <power/regulator.h> #include <reset.h> diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/usb/host/ehci-exynos.c index 9093e029ea..0b0b2137c7 100644 --- a/drivers/usb/host/ehci-exynos.c +++ b/drivers/usb/host/ehci-exynos.c @@ -10,6 +10,7 @@ #include <dm.h> #include <fdtdec.h> #include <log.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <malloc.h> #include <usb.h> diff --git a/drivers/usb/host/ehci-faraday.c b/drivers/usb/host/ehci-faraday.c index f46bdb441d..b61b5382df 100644 --- a/drivers/usb/host/ehci-faraday.c +++ b/drivers/usb/host/ehci-faraday.c @@ -10,6 +10,7 @@ #include <log.h> #include <asm/io.h> #include <usb.h> +#include <linux/delay.h> #include <usb/fusbh200.h> #include <usb/fotg210.h> diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 75d24ae015..ac6c5b5845 100644 --- a/drivers/usb/host/ehci-fsl.c +++ b/drivers/usb/host/ehci-fsl.c @@ -13,6 +13,7 @@ #include <pci.h> #include <usb.h> #include <asm/io.h> +#include <linux/delay.h> #include <usb/ehci-ci.h> #include <hwconfig.h> #include <fsl_usb.h> diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 1e03c83fe6..f79f06320b 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -21,6 +21,7 @@ #include <watchdog.h> #include <dm/device_compat.h> #include <linux/compiler.h> +#include <linux/delay.h> #include "ehci.h" diff --git a/drivers/usb/host/ehci-marvell.c b/drivers/usb/host/ehci-marvell.c index 75dfaf8b3b..8fe685af26 100644 --- a/drivers/usb/host/ehci-marvell.c +++ b/drivers/usb/host/ehci-marvell.c @@ -9,6 +9,7 @@ #include <log.h> #include <asm/io.h> #include <usb.h> +#include <linux/delay.h> #include "ehci.h" #include <linux/mbus.h> #include <asm/arch/cpu.h> diff --git a/drivers/usb/host/ehci-mx5.c b/drivers/usb/host/ehci-mx5.c index 82f99e924e..212b362332 100644 --- a/drivers/usb/host/ehci-mx5.c +++ b/drivers/usb/host/ehci-mx5.c @@ -9,6 +9,7 @@ #include <usb.h> #include <errno.h> #include <linux/compiler.h> +#include <linux/delay.h> #include <usb/ehci-ci.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c index 8fcb82e14c..24f8ad7af8 100644 --- a/drivers/usb/host/ehci-mx6.c +++ b/drivers/usb/host/ehci-mx6.c @@ -10,6 +10,7 @@ #include <errno.h> #include <wait_bit.h> #include <linux/compiler.h> +#include <linux/delay.h> #include <usb/ehci-ci.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index 4941cb9457..d0b7ac512e 100644 --- a/drivers/usb/host/ehci-mxc.c +++ b/drivers/usb/host/ehci-mxc.c @@ -8,6 +8,7 @@ #include <usb.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> +#include <linux/delay.h> #include <usb/ehci-ci.h> #include <errno.h> diff --git a/drivers/usb/host/ehci-mxs.c b/drivers/usb/host/ehci-mxs.c index 8e8f6d4928..824c620e63 100644 --- a/drivers/usb/host/ehci-mxs.c +++ b/drivers/usb/host/ehci-mxs.c @@ -10,6 +10,7 @@ #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <errno.h> +#include <linux/delay.h> #include "ehci.h" diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index a5061f7726..5fee537140 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c @@ -13,6 +13,7 @@ #include <common.h> #include <log.h> #include <usb.h> +#include <linux/delay.h> #include <usb/ulpi.h> #include <errno.h> #include <asm/io.h> diff --git a/drivers/usb/host/ehci-rmobile.c b/drivers/usb/host/ehci-rmobile.c index 4868581066..130b73dfe4 100644 --- a/drivers/usb/host/ehci-rmobile.c +++ b/drivers/usb/host/ehci-rmobile.c @@ -9,6 +9,7 @@ #include <common.h> #include <asm/io.h> #include <asm/arch/ehci-rmobile.h> +#include <linux/delay.h> #include "ehci.h" #if defined(CONFIG_R8A7740) diff --git a/drivers/usb/host/ehci-spear.c b/drivers/usb/host/ehci-spear.c index 8f5bfd5ed8..3e87e0c7fd 100644 --- a/drivers/usb/host/ehci-spear.c +++ b/drivers/usb/host/ehci-spear.c @@ -12,6 +12,7 @@ #include <log.h> #include <asm/io.h> #include <usb.h> +#include <linux/delay.h> #include "ehci.h" #include <asm/arch/hardware.h> #include <asm/arch/spr_misc.h> diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index 55fe6fec9a..d81f4a03f1 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> #include <log.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <asm-generic/gpio.h> diff --git a/drivers/usb/host/ehci-vf.c b/drivers/usb/host/ehci-vf.c index ba6eecada1..562207d3d2 100644 --- a/drivers/usb/host/ehci-vf.c +++ b/drivers/usb/host/ehci-vf.c @@ -19,6 +19,7 @@ #include <asm/arch/crm_regs.h> #include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/regs-usbphy.h> +#include <linux/delay.h> #include <usb/ehci-ci.h> #include <linux/libfdt.h> #include <fdtdec.h> diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index ac1ad29b02..c62d8feecc 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -33,6 +33,7 @@ #include <dm.h> #include <errno.h> #include <asm/cache.h> +#include <linux/delay.h> #if defined(CONFIG_PCI_OHCI) # include <pci.h> diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index d790839fda..37aa2c55f2 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c @@ -12,6 +12,7 @@ #include <usb.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/iopoll.h> #include <power/regulator.h> diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index e08da6130b..7c823f241a 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c @@ -21,6 +21,7 @@ #include <common.h> #include <mpc8xx.h> #include <usb.h> +#include <linux/delay.h> #include "sl811.h" #include "../../../board/kup/common/kup.h" diff --git a/drivers/usb/host/utmi-armada100.c b/drivers/usb/host/utmi-armada100.c index 8a40f66447..5d66e5881f 100644 --- a/drivers/usb/host/utmi-armada100.c +++ b/drivers/usb/host/utmi-armada100.c @@ -14,6 +14,7 @@ #include <asm/arch/cpu.h> #include <asm/arch/armada100.h> #include <asm/arch/utmi-armada100.h> +#include <linux/delay.h> static int utmi_phy_init(void) { diff --git a/drivers/usb/host/xhci-dwc3.c b/drivers/usb/host/xhci-dwc3.c index 37b59c80fd..cf72f0236d 100644 --- a/drivers/usb/host/xhci-dwc3.c +++ b/drivers/usb/host/xhci-dwc3.c @@ -13,6 +13,7 @@ #include <log.h> #include <usb.h> #include <dwc3-uboot.h> +#include <linux/delay.h> #include <usb/xhci.h> #include <asm/io.h> diff --git a/drivers/usb/host/xhci-exynos5.c b/drivers/usb/host/xhci-exynos5.c index 76aa431243..1705accbde 100644 --- a/drivers/usb/host/xhci-exynos5.c +++ b/drivers/usb/host/xhci-exynos5.c @@ -16,6 +16,7 @@ #include <dm.h> #include <fdtdec.h> #include <log.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <malloc.h> #include <usb.h> diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index ec57f725d3..963cc3c3c5 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -30,6 +30,7 @@ #include <asm/cache.h> #include <asm/unaligned.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/errno.h> #include <usb/xhci.h> diff --git a/drivers/usb/musb-new/am35x.c b/drivers/usb/musb-new/am35x.c index 69d6104044..0a52e09e19 100644 --- a/drivers/usb/musb-new/am35x.c +++ b/drivers/usb/musb-new/am35x.c @@ -27,6 +27,7 @@ #include <common.h> #include <asm/omap_musb.h> #include <linux/bug.h> +#include <linux/delay.h> #include "linux-compat.h" #endif diff --git a/drivers/usb/musb-new/da8xx.c b/drivers/usb/musb-new/da8xx.c index 1f6e51ed98..67488ddb50 100644 --- a/drivers/usb/musb-new/da8xx.c +++ b/drivers/usb/musb-new/da8xx.c @@ -21,6 +21,7 @@ #include <dm/lists.h> #include <asm/arch/hardware.h> #include <asm/arch/da8xx-usb.h> +#include <linux/delay.h> #include <linux/usb/otg.h> #include <asm/omap_musb.h> #include <generic-phy.h> diff --git a/drivers/usb/musb-new/linux-compat.h b/drivers/usb/musb-new/linux-compat.h index f366ae58e8..733b197f59 100644 --- a/drivers/usb/musb-new/linux-compat.h +++ b/drivers/usb/musb-new/linux-compat.h @@ -2,6 +2,7 @@ #define __LINUX_COMPAT_H__ #include <malloc.h> +#include <linux/delay.h> #include <linux/list.h> #include <linux/compat.h> diff --git a/drivers/usb/musb-new/mt85xx.c b/drivers/usb/musb-new/mt85xx.c index 131fd7dd79..c281c38a28 100644 --- a/drivers/usb/musb-new/mt85xx.c +++ b/drivers/usb/musb-new/mt85xx.c @@ -14,6 +14,7 @@ #include <dm.h> #include <dm/lists.h> #include <dm/root.h> +#include <linux/delay.h> #include <linux/usb/musb.h> #include <usb.h> #include "linux-compat.h" diff --git a/drivers/usb/musb-new/musb_uboot.c b/drivers/usb/musb-new/musb_uboot.c index 72f14b9343..988071a61d 100644 --- a/drivers/usb/musb-new/musb_uboot.c +++ b/drivers/usb/musb-new/musb_uboot.c @@ -2,6 +2,7 @@ #include <console.h> #include <malloc.h> #include <watchdog.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/errno.h> #include <linux/usb/ch9.h> diff --git a/drivers/usb/musb-new/pic32.c b/drivers/usb/musb-new/pic32.c index c7867fef8a..66e8e9ce88 100644 --- a/drivers/usb/musb-new/pic32.c +++ b/drivers/usb/musb-new/pic32.c @@ -11,6 +11,7 @@ #include <common.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/usb/musb.h> #include "linux-compat.h" #include "musb_core.h" diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c index 1c32f3fc06..a29d10d335 100644 --- a/drivers/usb/musb-new/sunxi.c +++ b/drivers/usb/musb-new/sunxi.c @@ -30,6 +30,7 @@ #include <dm/device_compat.h> #include <dm/lists.h> #include <dm/root.h> +#include <linux/delay.h> #include <linux/usb/musb.h> #include "linux-compat.h" #include "musb_core.h" diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c index 0617364f35..f945f1f5e2 100644 --- a/drivers/usb/musb/am35x.c +++ b/drivers/usb/musb/am35x.c @@ -10,6 +10,7 @@ */ #include <common.h> +#include <linux/delay.h> #include "am35x.h" diff --git a/drivers/usb/musb/musb_hcd.c b/drivers/usb/musb/musb_hcd.c index 632a9882b3..afbc648883 100644 --- a/drivers/usb/musb/musb_hcd.c +++ b/drivers/usb/musb/musb_hcd.c @@ -10,6 +10,7 @@ #include <common.h> #include <log.h> #include <usb.h> +#include <linux/delay.h> #include "musb_hcd.h" /* MSC control transfers */ diff --git a/drivers/usb/musb/musb_udc.c b/drivers/usb/musb/musb_udc.c index 4d7723621d..d901f8777c 100644 --- a/drivers/usb/musb/musb_udc.c +++ b/drivers/usb/musb/musb_udc.c @@ -41,6 +41,7 @@ #include <hang.h> #include <serial.h> #include <usbdevice.h> +#include <linux/delay.h> #include <usb/udc.h> #include "../gadget/ep0.h" #include "musb_core.h" diff --git a/drivers/usb/phy/omap_usb_phy.c b/drivers/usb/phy/omap_usb_phy.c index 9209942430..be733f39b2 100644 --- a/drivers/usb/phy/omap_usb_phy.c +++ b/drivers/usb/phy/omap_usb_phy.c @@ -11,6 +11,7 @@ #include <common.h> #include <usb.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/omap_common.h> #include <asm/arch/cpu.h> diff --git a/drivers/usb/phy/rockchip_usb2_phy.c b/drivers/usb/phy/rockchip_usb2_phy.c index 24ea8d8c31..6a60523e0f 100644 --- a/drivers/usb/phy/rockchip_usb2_phy.c +++ b/drivers/usb/phy/rockchip_usb2_phy.c @@ -7,6 +7,7 @@ #include <hang.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include "../gadget/dwc2_udc_otg_priv.h" diff --git a/drivers/usb/phy/twl4030.c b/drivers/usb/phy/twl4030.c index d2945d1417..676868bead 100644 --- a/drivers/usb/phy/twl4030.c +++ b/drivers/usb/phy/twl4030.c @@ -24,6 +24,7 @@ */ #include <twl4030.h> +#include <linux/delay.h> /* Defines for bits in registers */ #define OPMODE_MASK (3 << 3) diff --git a/drivers/usb/ulpi/omap-ulpi-viewport.c b/drivers/usb/ulpi/omap-ulpi-viewport.c index 26299e04d5..8b930e3fa9 100644 --- a/drivers/usb/ulpi/omap-ulpi-viewport.c +++ b/drivers/usb/ulpi/omap-ulpi-viewport.c @@ -10,6 +10,7 @@ #include <common.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include <usb/ulpi.h> #define OMAP_ULPI_WR_OPSEL (2 << 22) diff --git a/drivers/usb/ulpi/ulpi-viewport.c b/drivers/usb/ulpi/ulpi-viewport.c index a2158c9bb8..3bb152be89 100644 --- a/drivers/usb/ulpi/ulpi-viewport.c +++ b/drivers/usb/ulpi/ulpi-viewport.c @@ -15,6 +15,7 @@ #include <common.h> #include <asm/io.h> +#include <linux/delay.h> #include <usb/ulpi.h> /* ULPI viewport control bits */ diff --git a/drivers/usb/ulpi/ulpi.c b/drivers/usb/ulpi/ulpi.c index e8499bfdee..dd0da0e841 100644 --- a/drivers/usb/ulpi/ulpi.c +++ b/drivers/usb/ulpi/ulpi.c @@ -22,6 +22,7 @@ #include <common.h> #include <exports.h> #include <log.h> +#include <linux/delay.h> #include <usb/ulpi.h> #define ULPI_ID_REGS_COUNT 4 |