table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
MODULE_DRIVER(9) | Device drivers infrastructure | MODULE_DRIVER(9) |
NAME¶
module_driver - 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.SYNOPSIS¶
module_driver(__driver,
__register, __unregister,
...);
ARGUMENTS¶
__driverdriver 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
DESCRIPTION¶
Use this macro to construct bus specific macros for registering drivers, and do not use it on its own.COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |