---
name: "pci_unregister_driver"
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_unregister_driver"
---

# pci\_unregister\_driver(9)

unregister a pci driver

## NAME

pci\_unregister\_driver - unregister a pci driver

## SYNOPSIS

**void pci\_unregister\_driver(struct pci\_driver \*** *drv***);**

## ARGUMENTS

*drv*

the driver structure to unregister

## DESCRIPTION

Deletes the driver structure from the list of registered PCI drivers, gives it a chance to clean up by calling its **remove** function for each device it was responsible for, and marks those devices as driverless.

## COPYRIGHT
