usb_gadget_register_driver(9)

usb_gadget_register_driver9

Register a gadget driver

Usage

int usb_gadget_register_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 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.

Releases

3 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0

Author

David Brownell <[email protected]>

Author.

From linux-manual-2.6.32 2.6.32-48squeeze6 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.