usb_gadget_probe_driver(9)

usb_gadget_probe_driver9

Probe a gadget driver

Usage

int usb_gadget_probe_driver(struct usb_gadget_driver * driver);

Arguments

driver

the driver being registered

Context

can sleep

Overview

Call this in your gadget driver's module initialization function, to tell the underlying usb controller driver about your driver. The bind() function will be called to bind it to a gadget before this registration call returns. It's expected that the bind() function will be in init sections.

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

Author

David Brownell <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.