1USB_GADGET_REGISTER_(9)     Kernel Mode Gadget API     USB_GADGET_REGISTER_(9)
2
3
4

NAME

6       usb_gadget_register_driver - register a gadget driver
7

SYNOPSIS

9       int usb_gadget_register_driver(struct usb_gadget_driver * driver);
10

ARGUMENTS

12       driver
13           the driver being registered
14

CONTEXT

16       can sleep
17

DESCRIPTION

19       Call this in your gadget driver´s module initialization function, to
20       tell the underlying usb controller driver about your driver. The
21       driver´s bind function will be called to bind it to a gadget before
22       this registration call returns. It´s expected that the bind functions
23       will be in init sections.
24

AUTHOR

26       David Brownell <dbrownell@users.sourceforge.net>
27           Author.
28
30Kernel Hackers Manual 2.6.         June 2019           USB_GADGET_REGISTER_(9)
Impressum