]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: export __pci_reenable_device()
authorTejun Heo <htejun@gmail.com>
Tue, 10 Jul 2007 06:36:05 +0000 (15:36 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 24 Jul 2007 20:55:01 +0000 (16:55 -0400)
commitf0a664bbd1839fbe9f57564983f39bfc6c6f931d
tree4b1e20d96fd44f3d3ec5ad2d292a4479638eae09
parentf695baf2df9e0413d3521661070103711545207a
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>
drivers/pci/pci.c
drivers/pci/pci.h
include/linux/pci.h