diff options
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r-- | drivers/pci/pci.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index a899d8bb190d..95057a925d80 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -1335,6 +1335,16 @@ int __weak pcibios_add_device (struct pci_dev *dev) | |||
1335 | } | 1335 | } |
1336 | 1336 | ||
1337 | /** | 1337 | /** |
1338 | * pcibios_release_device - provide arch specific hooks when releasing device dev | ||
1339 | * @dev: the PCI device being released | ||
1340 | * | ||
1341 | * Permits the platform to provide architecture specific functionality when | ||
1342 | * devices are released. This is the default implementation. Architecture | ||
1343 | * implementations can override this. | ||
1344 | */ | ||
1345 | void __weak pcibios_release_device(struct pci_dev *dev) {} | ||
1346 | |||
1347 | /** | ||
1338 | * pcibios_disable_device - disable arch specific PCI resources for device dev | 1348 | * pcibios_disable_device - disable arch specific PCI resources for device dev |
1339 | * @dev: the PCI device to disable | 1349 | * @dev: the PCI device to disable |
1340 | * | 1350 | * |