usb_register_device_driver(9)

usb_register_device_driver9

Register a usb device (not interface) driver

Usage

int usb_register_device_driver(struct usb_device_driver * new_udriver, struct module * owner);

Arguments

new_udriver

USB operations for the device driver

owner

module owner of this driver.

Overview

Registers a USB device driver with the USB core. The list of unattached devices will be rescanned whenever a new driver is added, allowing the new driver to attach to any recognized devices.

Return

A negative error code on failure and 0 on success.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

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