SysTutorials

Linux Manual Pages › Section 9

module_usb_driver(9)

module_usb_driver – Helper macro for registering a USB driver

Synopsis

module_usb_driver(__usb_driver);

Arguments

__usb_driver

usb_driver struct

Description

Helper macro for USB drivers which do not do anything special in module init/exit. This eliminates a lot of boilerplate. Each module may only use this macro once, and calling it replaces module_init and module_exit

Copyright