diff options
author | Tejun Heo <htejun@gmail.com> | 2007-07-10 06:36:05 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-24 20:55:01 (GMT) |
commit | f0a664bbd1839fbe9f57564983f39bfc6c6f931d (patch) | |
tree | 4b1e20d96fd44f3d3ec5ad2d292a4479638eae09 /include/linux | |
parent | f695baf2df9e0413d3521661070103711545207a (diff) | |
download | linux-fsl-qoriq-f0a664bbd1839fbe9f57564983f39bfc6c6f931d.tar.xz |
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 'include/linux')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 5e84f2e..d8f8a3a 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -534,6 +534,7 @@ static inline int pci_write_config_dword(struct pci_dev *dev, int where, u32 val int __must_check pci_enable_device(struct pci_dev *dev); int __must_check pci_enable_device_bars(struct pci_dev *dev, int mask); +int __must_check __pci_reenable_device(struct pci_dev *); int __must_check pcim_enable_device(struct pci_dev *pdev); void pcim_pin_device(struct pci_dev *pdev); |