1. NAME

module_driver - Helper macro for drivers that donAqt 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.

2. SYNOPSIS

module_driver( __driver , __register , __unregister , ... );

3. 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

4. DESCRIPTION

Use this macro to construct bus specific macros for registering drivers, and do not use it on its own.

5. COPYRIGHT