'\" t .\" Title: pci_hp_deregister .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: Hardware Interfaces .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "PCI_HP_DEREGISTER" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "Hardware Interfaces" .\" ----------------------------------------------------------------- .\" * 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" pci_hp_deregister \- deregister a hotplug_slot with the PCI hotplug subsystem .SH "SYNOPSIS" .HP \w'int\ pci_hp_deregister('u .BI "int pci_hp_deregister(struct\ hotplug_slot\ *\ " "slot" ");" .SH "ARGUMENTS" .PP \fIstruct hotplug_slot * slot\fR .RS 4 pointer to the struct hotplug_slot to deregister .RE .SH "DESCRIPTION" .PP The \fIslot\fR must have been registered with the pci hotplug subsystem previously with a call to \fBpci_hp_register\fR\&. .PP Returns 0 if successful, anything else for an error\&. .SH "COPYRIGHT" .br