module_driver9
Helper macro for drivers that don't 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.
Usage
module_driver(__driver, __register, __unregister, ...);
Arguments
__driver
driver name
__register
register function for this driver type
__unregister
unregister function for this driver type @...: Additional arguments to be passed to __register and __unregister.
...
variable arguments
Overview
Use this macro to construct bus specific macros for registering drivers, and do not use it on its own.
Releases
2 releases since Debian 7 (Wheezy); the text changed 1 time.