]> git.sur5r.net Git - u-boot/commit
dm: usb: host: xhci-dwc3: add missing #ifdef CONFIG_DM_USB
authorPatrice Chotard <patrice.chotard@st.com>
Mon, 24 Jul 2017 15:07:03 +0000 (17:07 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:42 +0000 (23:34 +0200)
commit623b7aca1f82bf1dee089c77f9a1020e80abaccc
tree3de7f5b0ae655d092942769d3676f460e841a08a
parentd9fb7bece056522d659d9e17b73b3fd5549817c3
dm: usb: host: xhci-dwc3: add missing #ifdef CONFIG_DM_USB

Add CONFIG_DM_USB flag to avoid following compilation errors
detected by buildman :
+drivers/usb/host/built-in.o: In function `xhci_dwc3_remove':
+drivers/usb/host/xhci-dwc3.c:168: undefined reference to `xhci_deregister'
+drivers/usb/host/built-in.o: In function `xhci_dwc3_probe':
+drivers/usb/host/xhci-dwc3.c:145: undefined reference to `usb_get_dr_mode'
+drivers/usb/host/xhci-dwc3.c:152: undefined reference to `xhci_register'

introduced by patch d5c3f014da3 "usb: host: xhci-dwc3: Convert driver to DM"

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reported-by: Ran Wang <ran.wang_1@nxp.com>
drivers/usb/host/xhci-dwc3.c