centos man page for module_driver

Query: module_driver

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
__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
DESCRIPTION
Use this macro to construct bus specific macros for registering drivers, and do not use it on its own.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 MODULE_DRIVER(9)
Related Man Pages
struct_device_driver(9) - centos
driver_module(9) - freebsd
driver_module(9) - debian
driver(9) - debian
driver_module_ordered(9) - freebsd
Similar Topics in the Unix Linux Community
Device eth0 issue
Does Ubuntu12.04 Nouveau driver implement Optimus laptop