---
name: "pci_hp_deregister"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_hp_deregister"
---

# pci\_hp\_deregister(9)

deregister a hotplug\_slot with the PCI hotplug subsystem

## NAME

pci\_hp\_deregister - deregister a hotplug\_slot with the PCI hotplug subsystem

## SYNOPSIS

**int pci\_hp\_deregister(struct hotplug\_slot \*** *slot***);**

## ARGUMENTS

*slot*

pointer to the struct hotplug\_slot to deregister

## DESCRIPTION

The *slot* must have been registered with the pci hotplug subsystem previously with a call to **pci\_hp\_register**.

Returns 0 if successful, anything else for an error.

## COPYRIGHT
