module_spi_driver(9)

module_spi_driver9

Helper macro for registering a spi driver

Usage

module_spi_driver(__spi_driver);

Arguments

__spi_driver

spi_driver struct

Overview

Helper macro for SPI drivers which do not 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

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.