1USB_GADGET_PROBE_DRI(9) Kernel Mode Gadget API USB_GADGET_PROBE_DRI(9)
2
3
4
6 usb_gadget_probe_driver - probe a gadget driver
7
9 int usb_gadget_probe_driver(struct usb_gadget_driver * driver);
10
12 driver
13 the driver being registered
14
16 can sleep
17
19 Call this in your gadget driver's module initialization function, to
20 tell the underlying usb controller driver about your driver. The bind()
21 function will be called to bind it to a gadget before this registration
22 call returns. It's expected that the bind() function will be in init
23 sections.
24
26 David Brownell <dbrownell@users.sourceforge.net>
27 Author.
28
30Kernel Hackers Manual 3.10 June 2019 USB_GADGET_PROBE_DRI(9)