---
name: "pci_remove_bus_device"
section: "9"
platform: "linux"
package: "linux-manual-3.2"
version: "3.2.78-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_remove_bus_device"
---

# pci\_remove\_bus\_device(9)

remove a PCI device and any children

## NAME

pci\_remove\_bus\_device - remove a PCI device and any children

## SYNOPSIS

**void pci\_remove\_bus\_device(struct pci\_dev \*** *dev***);**

## ARGUMENTS

*dev*

the device to remove

## DESCRIPTION

Remove a PCI device from the device lists, informing the drivers that the device has been removed. We also remove any subordinate buses and children in a depth-first manner.

For each device we remove, delete the device structure from the device lists, remove the /proc entry, and notify userspace (/sbin/hotplug).

## COPYRIGHT
