]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: musb-new: Include device_compat.h
authorSean Anderson <seanga2@gmail.com>
Mon, 5 Oct 2020 01:39:54 +0000 (21:39 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 16 Oct 2020 13:44:27 +0000 (09:44 -0400)
This was included, but was ifdef'd out. We also need dm.h for struct
udevice.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
drivers/usb/musb-new/musb_core.c
drivers/usb/musb-new/musb_dsps.c
drivers/usb/musb-new/musb_gadget.c
drivers/usb/musb-new/musb_gadget_ep0.c
drivers/usb/musb-new/musb_host.c

index 961de99795e91da4555a4bc957aa719b27925058..22811a5efb23f5fc1c93dcb02c2e5b4deb0b8034 100644 (file)
@@ -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>
index eb590885bc538fbd9657b505a70dc238db185cde..236bab3dc1eff4ec6ced0ffa04843d8cdd88f6ca 100644 (file)
@@ -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
index 8ba98d8c0e8804cbd29c80db0bd157b0294e8ad3..5b149dac6dd67280b2b3b897e30403645dc0ed10 100644 (file)
@@ -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"
index 93f43ba4714ba93fbb9620c28372a59899126fa0..cbd92fca6b622c855619b811fc9a9edfd817d2f5 100644 (file)
 #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"
index 5fa013659c5cb6d0bd47ee5056cb7e9a6cb6cd11..acb2d40f3b5ad38fab624a43c86d9b414570af4d 100644 (file)
@@ -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"