usb_register_driver — register a USB interface driver
int usb_register_driver ( | struct usb_driver * new_driver, |
| struct module * owner, | |
const char * mod_name); |
new_driverUSB operations for the interface driver
ownermodule owner of this driver.
mod_namemodule name string
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.
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.