diff options
author | Sean Anderson <seanga2@gmail.com> | 2020-10-05 04:39:54 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-16 16:44:27 +0300 |
commit | e010524b5da4667a83f713e5a3db99726ad40f63 (patch) | |
tree | 123390e7af7e4465f43cdaefc0f7132ba29ceaef /drivers/usb | |
parent | f526aee31fd1977678588bb089897c80a5cddc85 (diff) | |
download | u-boot-e010524b5da4667a83f713e5a3db99726ad40f63.tar.xz |
usb: musb-new: Include device_compat.h
This was included, but was ifdef'd out. We also need dm.h for struct
udevice.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/musb-new/musb_core.c | 2 | ||||
-rw-r--r-- | drivers/usb/musb-new/musb_dsps.c | 2 | ||||
-rw-r--r-- | drivers/usb/musb-new/musb_gadget.c | 2 | ||||
-rw-r--r-- | drivers/usb/musb-new/musb_gadget_ep0.c | 4 | ||||
-rw-r--r-- | drivers/usb/musb-new/musb_host.c | 2 |
5 files changed, 11 insertions, 1 deletions
diff --git a/drivers/usb/musb-new/musb_core.c b/drivers/usb/musb-new/musb_core.c index 961de99795..22811a5efb 100644 --- a/drivers/usb/musb-new/musb_core.c +++ b/drivers/usb/musb-new/musb_core.c @@ -80,6 +80,8 @@ #include <linux/io.h> #else #include <common.h> +#include <dm.h> +#include <dm/device_compat.h> #include <usb.h> #include <linux/bitops.h> #include <linux/bug.h> diff --git a/drivers/usb/musb-new/musb_dsps.c b/drivers/usb/musb-new/musb_dsps.c index eb590885bc..236bab3dc1 100644 --- a/drivers/usb/musb-new/musb_dsps.c +++ b/drivers/usb/musb-new/musb_dsps.c @@ -32,6 +32,8 @@ #include <plat/usb.h> #else #include <common.h> +#include <dm.h> +#include <dm/device_compat.h> #include <asm/omap_musb.h> #include "linux-compat.h" #endif diff --git a/drivers/usb/musb-new/musb_gadget.c b/drivers/usb/musb-new/musb_gadget.c index 8ba98d8c0e..5b149dac6d 100644 --- a/drivers/usb/musb-new/musb_gadget.c +++ b/drivers/usb/musb-new/musb_gadget.c @@ -23,6 +23,8 @@ #include <linux/slab.h> #else #include <common.h> +#include <dm.h> +#include <dm/device_compat.h> #include <linux/bug.h> #include <linux/usb/ch9.h> #include "linux-compat.h" diff --git a/drivers/usb/musb-new/musb_gadget_ep0.c b/drivers/usb/musb-new/musb_gadget_ep0.c index 93f43ba471..cbd92fca6b 100644 --- a/drivers/usb/musb-new/musb_gadget_ep0.c +++ b/drivers/usb/musb-new/musb_gadget_ep0.c @@ -19,8 +19,10 @@ #include <linux/interrupt.h> #else #include <common.h> -#include "linux-compat.h" +#include <dm.h> +#include <dm/device_compat.h> #include <asm/processor.h> +#include "linux-compat.h" #endif #include "musb_core.h" diff --git a/drivers/usb/musb-new/musb_host.c b/drivers/usb/musb-new/musb_host.c index 5fa013659c..acb2d40f3b 100644 --- a/drivers/usb/musb-new/musb_host.c +++ b/drivers/usb/musb-new/musb_host.c @@ -22,6 +22,8 @@ #include <linux/dma-mapping.h> #else #include <common.h> +#include <dm.h> +#include <dm/device_compat.h> #include <usb.h> #include <linux/bug.h> #include "linux-compat.h" |