summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2020-10-04 21:39:53 -0400
committerTom Rini <trini@konsulko.com>2020-10-16 09:44:27 -0400
commitf526aee31fd1977678588bb089897c80a5cddc85 (patch)
tree53659e0d668d8a5b29fa2a641d7f526505993fb9 /drivers
parenta5d4f861247fe3601162b397b2f7cd29c9c7d749 (diff)
downloadu-boot-f526aee31fd1977678588bb089897c80a5cddc85.tar.gz
u-boot-f526aee31fd1977678588bb089897c80a5cddc85.tar.xz
u-boot-f526aee31fd1977678588bb089897c80a5cddc85.zip
usb: xhci: Include device_compat.h
This header is necessary for the dev_xxx macros. Signed-off-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/host/xhci-mtk.c5
-rw-r--r--drivers/usb/host/xhci.c7
2 files changed, 7 insertions, 5 deletions
diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c
index f3f181dae0..f62e232d21 100644
--- a/drivers/usb/host/xhci-mtk.c
+++ b/drivers/usb/host/xhci-mtk.c
@@ -7,15 +7,16 @@
#include <clk.h>
#include <common.h>
#include <dm.h>
+#include <dm/device_compat.h>
#include <dm/devres.h>
#include <generic-phy.h>
#include <malloc.h>
+#include <power/regulator.h>
#include <usb.h>
+#include <usb/xhci.h>
#include <linux/errno.h>
#include <linux/compat.h>
-#include <power/regulator.h>
#include <linux/iopoll.h>
-#include <usb/xhci.h>
/* IPPC (IP Port Control) registers */
#define IPPC_IP_PW_CTRL0 0x00
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 3547a9bad1..7080f8fabe 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -22,11 +22,13 @@
#include <common.h>
#include <cpu_func.h>
#include <dm.h>
+#include <dm/device_compat.h>
#include <log.h>
-#include <asm/byteorder.h>
-#include <usb.h>
#include <malloc.h>
+#include <usb.h>
+#include <usb/xhci.h>
#include <watchdog.h>
+#include <asm/byteorder.h>
#include <asm/cache.h>
#include <asm/unaligned.h>
#include <linux/bitops.h>
@@ -34,7 +36,6 @@
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/iopoll.h>
-#include <usb/xhci.h>
#ifndef CONFIG_USB_MAX_CONTROLLER_COUNT
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1