Query: usb_register_device_driver
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USB_REGISTER_DEVICE_(9) USB Core APIs USB_REGISTER_DEVICE_(9)NAMEusb_register_device_driver - register a USB device (not interface) driverSYNOPSISint usb_register_device_driver(struct usb_device_driver * new_udriver, struct module * owner);ARGUMENTSnew_udriver USB operations for the device driver owner module owner of this driver.DESCRIPTIONRegisters 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.RETURNA negative error code on failure and 0 on success.COPYRIGHTKernel Hackers Manual 3.10 June 2014 USB_REGISTER_DEVICE_(9)