[PATCH] xhci-brcm.c compile errors: undefined reference to 'dev_err'

David Caputo dcaputo at harmoni.io
Tue Apr 6 03:45:08 CEST 2021


Submitting for consideration to address multiple compile errors: undefined
reference to `dev_err'

diff --git a/drivers/usb/host/xhci-brcm.c b/drivers/usb/host/xhci-brcm.c
index 27c4bbfcba..b42da6818c 100644
--- a/drivers/usb/host/xhci-brcm.c
+++ b/drivers/usb/host/xhci-brcm.c
@@ -9,6 +9,7 @@
 #include <usb.h>
 #include <asm/io.h>
 #include <usb/xhci.h>
+#include <dm/device_compat.h>

 #define DRD2U3H_XHC_REGS_AXIWRA    0xC08
 #define DRD2U3H_XHC_REGS_AXIRDA    0xC0C


More information about the U-Boot mailing list