Query: usb_gadget_register_driver
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USB_GADGET_REGISTER_(9) Kernel Mode Gadget API USB_GADGET_REGISTER_(9)NAMEusb_gadget_register_driver - register a gadget driverSYNOPSISint usb_gadget_register_driver(struct usb_gadget_driver * driver);ARGUMENTSdriver the driver being registeredCONTEXTcan sleepDESCRIPTIONCall 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 before this registration call returns. It's expected that the bind functions will be in init sections.AUTHORDavid Brownell <dbrownell@users.sourceforge.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 USB_GADGET_REGISTER_(9)