]> git.baikalelectronics.ru Git - kernel.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)
commit7821d486103e41a54a836db1e819bc96eb44bcbf
tree4b1e20d96fd44f3d3ec5ad2d292a4479638eae09
parent4aabb03b7d8944821bce9e531ae357bdff5653ee
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