'\" t .\" Title: module_spi_driver .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Serial Peripheral Interface (SPI) .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "MODULE_SPI_DRIVER" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Serial Peripheral Interface (S" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" module_spi_driver \- Helper macro for registering a SPI driver .SH "SYNOPSIS" .HP \w'module_spi_driver('u .BI "module_spi_driver(" "__spi_driver" ");" .SH "ARGUMENTS" .PP \fI__spi_driver\fR .RS 4 spi_driver struct .RE .SH "DESCRIPTION" .PP 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 \fBmodule_init\fR and \fBmodule_exit\fR .SH "COPYRIGHT" .br