usb_register_driver(9) centos man page | unix.com

Man Page: usb_register_driver

Operating Environment: centos

Section: 9

USB_REGISTER_DRIVER(9)						   USB Core APIs					    USB_REGISTER_DRIVER(9)

NAME
usb_register_driver - register a USB interface driver
SYNOPSIS
int usb_register_driver(struct usb_driver * new_driver, struct module * owner, const char * mod_name);
ARGUMENTS
new_driver USB operations for the interface driver owner module owner of this driver. mod_name module name string
DESCRIPTION
Registers a USB interface driver with the USB core. The list of unattached interfaces will be rescanned whenever a new driver is added, allowing the new driver to attach to any recognized interfaces.
RETURN
A negative error code on failure and 0 on success.
NOTE
if you want your driver to use the USB major number, you must call usb_register_dev to enable that functionality. This function no longer takes care of that.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 USB_REGISTER_DRIVER(9)
Related Man Pages
ehci(4) - netbsd
uscanner(4) - netbsd
struct_usb_device_driver(9) - suse
ehci(4) - minix
uftdi(4) - centos
Similar Topics in the Unix Linux Community
Weird 'find' results
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
Tar Command
Unsure why access time on a directory change isn't changing