table of contents
BUILTIN_DRIVER(9) | Device drivers infrastructure | BUILTIN_DRIVER(9) |
NAME¶
builtin_driver - Helper macro for drivers that don't do anything special in init and have no exit. This eliminates some boilerplate. Each driver may only use this macro once, and calling it replaces device_initcall (or in some cases, the legacy __initcall). This is meant to be a direct parallel of module_driver above but without the __exit stuff that is not used for builtin cases.
SYNOPSIS¶
builtin_driver(__driver, __register, ...);
ARGUMENTS¶
__driver
__register
...
DESCRIPTION¶
Use this macro to construct bus specific macros for registering drivers, and do not use it on its own.
COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |