[U-Boot] [PATCH 2/4] dm: usb: host: xhci-dwc3: add missing #ifdef CONFIG_DM_USB

Marek Vasut marex at denx.de
Sun Aug 6 19:17:38 UTC 2017


On 08/06/2017 07:15 AM, Simon Glass wrote:
> On 24 July 2017 at 09:07,  <patrice.chotard at st.com> wrote:
>> From: Patrice Chotard <patrice.chotard at st.com>
>>
>> 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 at st.com>
>> Reported-by: Ran Wang <ran.wang_1 at nxp.com>
>> ---
>>  drivers/usb/host/xhci-dwc3.c | 2 ++
>>  1 file changed, 2 insertions(+)
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
Um, this patch was applied like two weeks ago. Is this some automated
botmail ... reviewman ? :)

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list