---
name: "pci_remove_rom"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_remove_rom"
---

# pci\_remove\_rom(9)

disable the ROM and remove its sysfs attribute

## NAME

pci\_remove\_rom - disable the ROM and remove its sysfs attribute

## SYNOPSIS

**void pci\_remove\_rom(struct pci\_dev \*** *pdev***);**

## ARGUMENTS

*pdev*

pointer to pci device struct

## DESCRIPTION

Remove the rom file in sysfs and disable ROM decoding.

## COPYRIGHT
