Query: usb_composite_register
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USB_COMPOSITE_REGIST(9) Kernel Mode Gadget API USB_COMPOSITE_REGIST(9)NAMEusb_composite_register - register a composite driverSYNOPSISint usb_composite_register(struct usb_composite_driver * driver);ARGUMENTSdriver the driver to registerCONTEXTsingle threaded during gadget setupDESCRIPTIONThis function is used to register drivers using the composite driver framework. The return value is zero, or a negative errno value. Those values normally come from the driver's bind method, which does all the work of setting up the driver to match the hardware. On successful return, the gadget is ready to respond to requests from the host, unless one of its components invokes usb_gadget_disconnect while it was binding. That would usually be done in order to wait for some userspace participation.AUTHORDavid Brownell <dbrownell@users.sourceforge.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 USB_COMPOSITE_REGIST(9)