'\" t .\" Title: module_usb_driver .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Host-Side Data Types and Macros .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "MODULE_USB_DRIVER" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Host-Side Data Types and Macro" .\" ----------------------------------------------------------------- .\" * 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_usb_driver \- Helper macro for registering a USB driver .SH "SYNOPSIS" .HP \w'module_usb_driver('u .BI "module_usb_driver(" "__usb_driver" ");" .SH "ARGUMENTS" .PP \fI__usb_driver\fR .RS 4 usb_driver struct .RE .SH "DESCRIPTION" .PP Helper macro for USB 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