diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:40:13 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 21:19:23 -0400 |
commit | cd93d625fd751d55c729c78b10f82109d56a5f1d (patch) | |
tree | 158fd30f3d06142f6a99cbae6ed8ccb0f3be567b /drivers/usb | |
parent | f09f1ecbe77863ecefe586ccd6000064b49105a3 (diff) | |
download | u-boot-cd93d625fd751d55c729c78b10f82109d56a5f1d.zip u-boot-cd93d625fd751d55c729c78b10f82109d56a5f1d.tar.gz u-boot-cd93d625fd751d55c729c78b10f82109d56a5f1d.tar.bz2 |
common: Drop linux/bitops.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')
-rw-r--r-- | drivers/usb/cdns3/cdns3-ti.c | 1 | ||||
-rw-r--r-- | drivers/usb/cdns3/drd.h | 1 | ||||
-rw-r--r-- | drivers/usb/cdns3/ep0.c | 1 | ||||
-rw-r--r-- | drivers/usb/cdns3/gadget.c | 1 | ||||
-rw-r--r-- | drivers/usb/cdns3/gadget.h | 1 | ||||
-rw-r--r-- | drivers/usb/dwc3/core.h | 1 | ||||
-rw-r--r-- | drivers/usb/dwc3/dwc3-generic.c | 1 | ||||
-rw-r--r-- | drivers/usb/dwc3/ti_usb_phy.c | 1 | ||||
-rw-r--r-- | drivers/usb/eth/lan75xx.c | 1 | ||||
-rw-r--r-- | drivers/usb/eth/lan78xx.c | 1 | ||||
-rw-r--r-- | drivers/usb/eth/lan7x.h | 1 | ||||
-rw-r--r-- | drivers/usb/eth/r8152.h | 1 | ||||
-rw-r--r-- | drivers/usb/eth/r8152_fw.c | 1 | ||||
-rw-r--r-- | drivers/usb/gadget/atmel_usba_udc.c | 1 | ||||
-rw-r--r-- | drivers/usb/gadget/dwc2_udc_otg_regs.h | 1 | ||||
-rw-r--r-- | drivers/usb/host/ehci.h | 1 | ||||
-rw-r--r-- | drivers/usb/host/r8a66597.h | 1 | ||||
-rw-r--r-- | drivers/usb/host/xhci-rcar.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/xhci.c | 1 | ||||
-rw-r--r-- | drivers/usb/musb-new/musb_core.c | 1 | ||||
-rw-r--r-- | drivers/usb/musb-new/pic32.c | 1 | ||||
-rw-r--r-- | drivers/usb/musb-new/sunxi.c | 1 | ||||
-rw-r--r-- | drivers/usb/musb/musb_core.c | 1 | ||||
-rw-r--r-- | drivers/usb/phy/rockchip_usb2_phy.c | 1 |
24 files changed, 24 insertions, 0 deletions
diff --git a/drivers/usb/cdns3/cdns3-ti.c b/drivers/usb/cdns3/cdns3-ti.c index 652cd5c..cd7b211 100644 --- a/drivers/usb/cdns3/cdns3-ti.c +++ b/drivers/usb/cdns3/cdns3-ti.c @@ -10,6 +10,7 @@ #include <clk.h> #include <dm.h> #include <dm/device_compat.h> +#include <linux/bitops.h> #include <linux/io.h> #include <linux/usb/otg.h> #include <malloc.h> diff --git a/drivers/usb/cdns3/drd.h b/drivers/usb/cdns3/drd.h index 815b93f..fffda7b 100644 --- a/drivers/usb/cdns3/drd.h +++ b/drivers/usb/cdns3/drd.h @@ -9,6 +9,7 @@ #ifndef __LINUX_CDNS3_DRD #define __LINUX_CDNS3_DRD +#include <linux/bitops.h> #include <linux/types.h> #include <linux/usb/otg.h> #include "core.h" diff --git a/drivers/usb/cdns3/ep0.c b/drivers/usb/cdns3/ep0.c index 4a6374c..a08c6945 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/bitops.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 f5b6e5b..8f81d17 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/bitops.h> #include <linux/delay.h> #include <linux/err.h> #include <linux/usb/gadget.h> diff --git a/drivers/usb/cdns3/gadget.h b/drivers/usb/cdns3/gadget.h index 3d5242b..8803fa4 100644 --- a/drivers/usb/cdns3/gadget.h +++ b/drivers/usb/cdns3/gadget.h @@ -11,6 +11,7 @@ */ #ifndef __LINUX_CDNS3_GADGET #define __LINUX_CDNS3_GADGET +#include <linux/bitops.h> #include <linux/usb/gadget.h> /* diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 7f45a9c..2b4c51a 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -17,6 +17,7 @@ #ifndef __DRIVERS_USB_DWC3_CORE_H #define __DRIVERS_USB_DWC3_CORE_H +#include <linux/bitops.h> #include <linux/ioport.h> #include <linux/usb/ch9.h> diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c index e172e36..484e7a7 100644 --- a/drivers/usb/dwc3/dwc3-generic.c +++ b/drivers/usb/dwc3/dwc3-generic.c @@ -15,6 +15,7 @@ #include <dm/device-internal.h> #include <dm/lists.h> #include <dwc3-uboot.h> +#include <linux/bitops.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> #include <malloc.h> diff --git a/drivers/usb/dwc3/ti_usb_phy.c b/drivers/usb/dwc3/ti_usb_phy.c index ade3a7f..f8ab064 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/bitops.h> #include <linux/delay.h> #include <linux/ioport.h> #include <asm/io.h> diff --git a/drivers/usb/eth/lan75xx.c b/drivers/usb/eth/lan75xx.c index 94c6522..46b92e8 100644 --- a/drivers/usb/eth/lan75xx.c +++ b/drivers/usb/eth/lan75xx.c @@ -6,6 +6,7 @@ #include <dm.h> #include <log.h> #include <usb.h> +#include <linux/bitops.h> #include <linux/mii.h> #include "usb_ether.h" #include "lan7x.h" diff --git a/drivers/usb/eth/lan78xx.c b/drivers/usb/eth/lan78xx.c index 1d1b64e..e34ad26 100644 --- a/drivers/usb/eth/lan78xx.c +++ b/drivers/usb/eth/lan78xx.c @@ -7,6 +7,7 @@ #include <log.h> #include <net.h> #include <usb.h> +#include <linux/bitops.h> #include "usb_ether.h" #include "lan7x.h" diff --git a/drivers/usb/eth/lan7x.h b/drivers/usb/eth/lan7x.h index 35965e9..f71e8c7 100644 --- a/drivers/usb/eth/lan7x.h +++ b/drivers/usb/eth/lan7x.h @@ -6,6 +6,7 @@ #include <console.h> #include <time.h> #include <watchdog.h> +#include <linux/bitops.h> #include <linux/delay.h> #include <linux/errno.h> diff --git a/drivers/usb/eth/r8152.h b/drivers/usb/eth/r8152.h index b6df535..09f1c61 100644 --- a/drivers/usb/eth/r8152.h +++ b/drivers/usb/eth/r8152.h @@ -7,6 +7,7 @@ #ifndef _RTL8152_ETH_H #define _RTL8152_ETH_H +#include <linux/bitops.h> #define R8152_BASE_NAME "r8152" #define PLA_IDR 0xc000 diff --git a/drivers/usb/eth/r8152_fw.c b/drivers/usb/eth/r8152_fw.c index d564de2..3ebbd53 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/bitops.h> #include <linux/delay.h> #include "usb_ether.h" #include "r8152.h" diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c index dffa511..7d51821 100644 --- a/drivers/usb/gadget/atmel_usba_udc.c +++ b/drivers/usb/gadget/atmel_usba_udc.c @@ -8,6 +8,7 @@ */ #include <common.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/hardware.h> diff --git a/drivers/usb/gadget/dwc2_udc_otg_regs.h b/drivers/usb/gadget/dwc2_udc_otg_regs.h index 434db5b..2eda5c3 100644 --- a/drivers/usb/gadget/dwc2_udc_otg_regs.h +++ b/drivers/usb/gadget/dwc2_udc_otg_regs.h @@ -11,6 +11,7 @@ #define __ASM_ARCH_REGS_USB_OTG_HS_H /* USB2.0 OTG Controller register */ +#include <linux/bitops.h> struct dwc2_usbotg_phy { u32 phypwr; u32 phyclk; diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index 66c1d61..8e07554 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h @@ -298,4 +298,5 @@ extern struct dm_usb_ops ehci_usb_ops; int ehci_setup_phy(struct udevice *dev, struct phy *phy, int index); int ehci_shutdown_phy(struct udevice *dev, struct phy *phy); +#include <linux/bitops.h> #endif /* USB_EHCI_H */ diff --git a/drivers/usb/host/r8a66597.h b/drivers/usb/host/r8a66597.h index b6110d6..625d493 100644 --- a/drivers/usb/host/r8a66597.h +++ b/drivers/usb/host/r8a66597.h @@ -8,6 +8,7 @@ #ifndef __R8A66597_H__ #define __R8A66597_H__ +#include <linux/bitops.h> #define SYSCFG0 0x00 #define SYSCFG1 0x02 #define SYSSTS0 0x04 diff --git a/drivers/usb/host/xhci-rcar.c b/drivers/usb/host/xhci-rcar.c index b3675bb..4964697 100644 --- a/drivers/usb/host/xhci-rcar.c +++ b/drivers/usb/host/xhci-rcar.c @@ -14,6 +14,7 @@ #include <usb.h> #include <wait_bit.h> #include <dm/device_compat.h> +#include <linux/bitops.h> #include <usb/xhci.h> #include "xhci-rcar-r8a779x_usb3_v3.h" diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 963cc3c..ebd2954 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -29,6 +29,7 @@ #include <watchdog.h> #include <asm/cache.h> #include <asm/unaligned.h> +#include <linux/bitops.h> #include <linux/bug.h> #include <linux/delay.h> #include <linux/errno.h> diff --git a/drivers/usb/musb-new/musb_core.c b/drivers/usb/musb-new/musb_core.c index 8e0e57c..961de99 100644 --- a/drivers/usb/musb-new/musb_core.c +++ b/drivers/usb/musb-new/musb_core.c @@ -81,6 +81,7 @@ #else #include <common.h> #include <usb.h> +#include <linux/bitops.h> #include <linux/bug.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 66e8e9c..74a841a 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/bitops.h> #include <linux/delay.h> #include <linux/usb/musb.h> #include "linux-compat.h" diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c index a29d10d..53c336f 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/bitops.h> #include <linux/delay.h> #include <linux/usb/musb.h> #include "linux-compat.h" diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index c6d47be..147b2eb 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <linux/bitops.h> #include "musb_core.h" struct musb_regs *musbr; diff --git a/drivers/usb/phy/rockchip_usb2_phy.c b/drivers/usb/phy/rockchip_usb2_phy.c index 6a60523..f1cf916 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/bitops.h> #include <linux/delay.h> #include "../gadget/dwc2_udc_otg_priv.h" |