Hi,

John Youn <[email protected]> writes:
>> +enum usb_dr_mode of_usb_get_dr_mode_by_phy(struct device_node *phy_np)
>> +{
>> +    return USB_DR_MODE_UNKNOWN;
>> +}
>>  static inline bool of_usb_host_tpl_support(struct device_node *np)
>>  {
>>      return false;
>> 
>
>
> Hi Felipe,
>
> This commit in your testing/next causes compilation error:
>
> /home/johnyoun/linux/linux-usb/drivers/usb/common/common.c:143:18: error: 
> redefinition of ‘of_usb_get_dr_mode_by_phy’
>  enum usb_dr_mode of_usb_get_dr_mode_by_phy(struct device_node *phy_np)
>                   ^
> In file included from 
> /home/johnyoun/linux/linux-usb/drivers/usb/common/common.c:18:0:
> /home/johnyoun/linux/linux-usb/include/linux/usb/of.h:20:18: note: previous 
> definition of ‘of_usb_get_dr_mode_by_phy’ was here
>  enum usb_dr_mode of_usb_get_dr_mode_by_phy(struct device_node *phy_np)
>                   ^
> make[4]: *** [drivers/usb/common/common.o] Error 1

I just recompiled here and it built fine. Got a defconfig I can use
here?

regards

-- 
balbi

Attachment: signature.asc
Description: PGP signature

Reply via email to