[U-Boot] [PATCH v2 07/13] drivers: usb: dwc3: add ti dwc3 misc driver for wrapper
Vignesh R
vigneshr at ti.com
Wed Jun 14 11:01:21 UTC 2017
On Tuesday 13 June 2017 07:35 PM, Marek Vasut wrote:
>> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
>> index e065c5aeb38d..18bbd5318e48 100644
>> --- a/drivers/usb/dwc3/gadget.c
>> +++ b/drivers/usb/dwc3/gadget.c
>> @@ -2610,7 +2610,7 @@ int dwc3_gadget_init(struct dwc3 *dwc)
>> if (ret)
>> goto err4;
>>
>> - ret = usb_add_gadget_udc(dwc->dev, &dwc->gadget);
>> + ret = usb_add_gadget_udc((struct device *)dwc->dev, &dwc->gadget>
> This is probably unintended ?
I will revisit this patch and get rid of this change
>
>> if (ret) {
>> dev_err(dwc->dev, "failed to register udc\n");
>> goto err4;
>>
>
>
--
Regards
Vignesh
More information about the U-Boot
mailing list