'\" t .\" Title: uart_unregister_driver .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: 16x50 UART Driver .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "UART_UNREGISTER_DRIV" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "16x50 UART Driver" .\" ----------------------------------------------------------------- .\" * 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" uart_unregister_driver \- remove a driver from the uart core layer .SH "SYNOPSIS" .HP \w'void\ uart_unregister_driver('u .BI "void uart_unregister_driver(struct\ uart_driver\ *\ " "drv" ");" .SH "ARGUMENTS" .PP \fIdrv\fR .RS 4 low level driver structure .RE .SH "DESCRIPTION" .PP Remove all references to a driver from the core driver\&. The low level driver must have removed all its ports via the \fBuart_remove_one_port\fR if it registered them with \fBuart_add_one_port\fR\&. (ie, drv\->port == NULL) .SH "COPYRIGHT" .br