Provided by: linux-doc-2.6.15_2.6.15-23.39_all
usb_gadget_register_driver - register a gadget driver
int usb_gadget_register_driver (struct usb_gadget_driver * driver);
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
driver’s bind function will be called to bind it to a gadget. This
function must be called in a context that can sleep.
David Brownell <firstname.lastname@example.org>.