Messages in this thread | | | From | Jun Li <> | Subject | RE: [PATCH v6 08/12] usb: hcd: Adapt to OTG core | Date | Wed, 27 Apr 2016 10:16:33 +0000 |
| |
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
Li Jun
> + .usb_control_msg = usb_control_msg, > + .usb_hub_find_child = usb_hub_find_child, }; > +
| |