1USB_REGISTER_DEVICE_(9) USB Core APIs USB_REGISTER_DEVICE_(9)
2
3
4
6 usb_register_device_driver - register a USB device (not interface)
7 driver
8
10 int usb_register_device_driver(struct usb_device_driver * new_udriver,
11 struct module * owner);
12
14 new_udriver
15 USB operations for the device driver
16
17 owner
18 module owner of this driver.
19
21 Registers a USB device driver with the USB core. The list of unattached
22 devices will be rescanned whenever a new driver is added, allowing the
23 new driver to attach to any recognized devices.
24
26 A negative error code on failure and 0 on success.
27
29Kernel Hackers Manual 3.10 June 2019 USB_REGISTER_DEVICE_(9)