diff options
author | Tejun Heo <htejun@gmail.com> | 2007-07-10 08:36:05 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-24 22:55:01 +0200 |
commit | f0a664bbd1839fbe9f57564983f39bfc6c6f931d (patch) | |
tree | 4b1e20d96fd44f3d3ec5ad2d292a4479638eae09 /drivers/pci/pci.h | |
parent | Linux 2.6.23-rc1 (diff) | |
download | linux-f0a664bbd1839fbe9f57564983f39bfc6c6f931d.tar.xz linux-f0a664bbd1839fbe9f57564983f39bfc6c6f931d.zip |
PCI: export __pci_reenable_device()
Some odd ACPI implementations choke if certain controller is disabled
when ACPI suspend is invoked but we still need to make sure the PCI
device is enabled during resume. Simply using pci_enable_device()
unbalances device enable count. Export __pci_reenable_device().
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r-- | drivers/pci/pci.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 3fec13d3add7..7b696cd66dc5 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -1,6 +1,5 @@ /* Functions internal to the PCI core code */ -extern int __must_check __pci_reenable_device(struct pci_dev *); extern int pci_uevent(struct device *dev, char **envp, int num_envp, char *buffer, int buffer_size); extern int pci_create_sysfs_dev_files(struct pci_dev *pdev); |