diff options
| author | Simon Glass <[email protected]> | 2020-10-30 21:38:53 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-02-02 15:33:42 -0500 |
| commit | 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 (patch) | |
| tree | 0122abb2a3f1ea9837eaccc6150d2dae9570388e /drivers/usb/host | |
| parent | fdcb93e1709ab1a2ebb562455621617c29e2099c (diff) | |
common: Drop asm/global_data.h from common header
Move this out of the common header and include it only where needed. In
a number of cases this requires adding "struct udevice;" to avoid adding
another large header or in other cases replacing / adding missing header
files that had been pulled in, very indirectly. Finally, we have a few
cases where we did not need to include <asm/global_data.h> at all, so
remove that include.
Signed-off-by: Simon Glass <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers/usb/host')
| -rw-r--r-- | drivers/usb/host/dwc3-octeon-glue.c | 1 | ||||
| -rw-r--r-- | drivers/usb/host/dwc3-sti-glue.c | 1 | ||||
| -rw-r--r-- | drivers/usb/host/ehci-exynos.c | 1 | ||||
| -rw-r--r-- | drivers/usb/host/ehci-fsl.c | 1 | ||||
| -rw-r--r-- | drivers/usb/host/ehci-marvell.c | 1 | ||||
| -rw-r--r-- | drivers/usb/host/ehci-mx5.c | 1 | ||||
| -rw-r--r-- | drivers/usb/host/ehci-mx6.c | 1 | ||||
| -rw-r--r-- | drivers/usb/host/ehci-vf.c | 1 | ||||
| -rw-r--r-- | drivers/usb/host/xhci-exynos5.c | 1 |
9 files changed, 9 insertions, 0 deletions
diff --git a/drivers/usb/host/dwc3-octeon-glue.c b/drivers/usb/host/dwc3-octeon-glue.c index 742e156cbb9..975f375e15a 100644 --- a/drivers/usb/host/dwc3-octeon-glue.c +++ b/drivers/usb/host/dwc3-octeon-glue.c @@ -12,6 +12,7 @@ #include <dm.h> #include <errno.h> #include <usb.h> +#include <asm/global_data.h> #include <asm/io.h> #include <dm/device_compat.h> #include <dm/lists.h> diff --git a/drivers/usb/host/dwc3-sti-glue.c b/drivers/usb/host/dwc3-sti-glue.c index 1234399f33b..239b671ac38 100644 --- a/drivers/usb/host/dwc3-sti-glue.c +++ b/drivers/usb/host/dwc3-sti-glue.c @@ -8,6 +8,7 @@ #include <common.h> #include <log.h> +#include <asm/global_data.h> #include <asm/io.h> #include <dm.h> #include <errno.h> diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/usb/host/ehci-exynos.c index fda04c49335..c1cdd4b0889 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 <asm/global_data.h> #include <linux/delay.h> #include <linux/libfdt.h> #include <malloc.h> diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 8e79bdd8472..cf1f882441b 100644 --- a/drivers/usb/host/ehci-fsl.c +++ b/drivers/usb/host/ehci-fsl.c @@ -12,6 +12,7 @@ #include <log.h> #include <pci.h> #include <usb.h> +#include <asm/global_data.h> #include <asm/io.h> #include <linux/delay.h> #include <usb/ehci-ci.h> diff --git a/drivers/usb/host/ehci-marvell.c b/drivers/usb/host/ehci-marvell.c index 3ecbfd032ff..5420bb9772b 100644 --- a/drivers/usb/host/ehci-marvell.c +++ b/drivers/usb/host/ehci-marvell.c @@ -7,6 +7,7 @@ #include <common.h> #include <log.h> +#include <asm/global_data.h> #include <asm/io.h> #include <usb.h> #include <linux/delay.h> diff --git a/drivers/usb/host/ehci-mx5.c b/drivers/usb/host/ehci-mx5.c index 0af02ba2737..ab863f41b24 100644 --- a/drivers/usb/host/ehci-mx5.c +++ b/drivers/usb/host/ehci-mx5.c @@ -11,6 +11,7 @@ #include <linux/compiler.h> #include <linux/delay.h> #include <usb/ehci-ci.h> +#include <asm/global_data.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c index ef3a63afa44..aeea5399995 100644 --- a/drivers/usb/host/ehci-mx6.c +++ b/drivers/usb/host/ehci-mx6.c @@ -9,6 +9,7 @@ #include <usb.h> #include <errno.h> #include <wait_bit.h> +#include <asm/global_data.h> #include <linux/compiler.h> #include <linux/delay.h> #include <usb/ehci-ci.h> diff --git a/drivers/usb/host/ehci-vf.c b/drivers/usb/host/ehci-vf.c index 25f76c9fa91..648e136447d 100644 --- a/drivers/usb/host/ehci-vf.c +++ b/drivers/usb/host/ehci-vf.c @@ -11,6 +11,7 @@ #include <log.h> #include <usb.h> #include <errno.h> +#include <asm/global_data.h> #include <linux/compiler.h> #include <asm/io.h> #include <asm-generic/gpio.h> diff --git a/drivers/usb/host/xhci-exynos5.c b/drivers/usb/host/xhci-exynos5.c index 9893a8cccee..270be934e7f 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 <asm/global_data.h> #include <linux/delay.h> #include <linux/libfdt.h> #include <malloc.h> |
