Re: [PATCH v6 08/12] usb: hcd: Adapt to OTG core

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27/04/16 13:16, Jun Li wrote:
> Hi
> 
>>
>> +
>> +static struct otg_hcd_ops otg_hcd_intf = {
>> +	.add = usb_add_hcd,
>> +	.remove = usb_remove_hcd,
>> +	.usb_bus_start_enum = usb_bus_start_enum,
> 
> Build break if CONFIG_USB_OTG is not enabled:
> 
> drivers/built-in.o:(.data+0x1db30): undefined reference to `usb_bus_start_enum'
> Makefile:948: recipe for target 'vmlinux' failed
> make: *** [vmlinux] Error 1

Thanks. Will fix it.

cheers,
-roger

>  
>> +	.usb_control_msg = usb_control_msg,
>> +	.usb_hub_find_child = usb_hub_find_child, };
>> +
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux