usb_gadget_probe_driver (9) - Linux Man Pages
usb_gadget_probe_driver: probe a gadget driver
usb_gadget_probe_driver - probe a gadget driver
int usb_gadget_probe_driver(struct usb_gadget_driver
- the driver being registered
Call this in your gadget driver's module initialization function, to tell the underlying usb controller driver about your driver. The bind() function will be called to bind it to a gadget before this registration call returns. It's expected that the bind() function will be in init sections.
David Brownell <dbrownell [at] users.sourceforge.net>