diff mbox series

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

Message ID CAJWya-gCVUN-7Jem4_HxLkSjAN9LJ-+fG2KExQJ8kfd4qiDWDQ@mail.gmail.com
State Deferred
Delegated to: Tom Rini
Headers show
Series xhci-brcm.c compile errors: undefined reference to 'dev_err' | expand

Commit Message

David Caputo April 6, 2021, 1:45 a.m. UTC
Submitting for consideration to address multiple compile errors: undefined
reference to `dev_err'
diff mbox series

Patch

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