From: Sean Anderson Date: Mon, 5 Oct 2020 01:39:54 +0000 (-0400) Subject: usb: musb-new: Include device_compat.h X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=e010524b5da4667a83f713e5a3db99726ad40f63;p=u-boot.git 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 --- 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 #else #include +#include +#include #include #include #include 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 #else #include +#include +#include #include #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 #else #include +#include +#include #include #include #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 #else #include -#include "linux-compat.h" +#include +#include #include +#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 #else #include +#include +#include #include #include #include "linux-compat.h"