summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-driver.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-07-27 14:43:35 +0900
committerJeff Garzik <jeff@garzik.org>2007-08-01 10:00:56 -0400
commit0b62e13b5c9b4871641973e024cc9dd440b5bb58 (patch)
treed8c555913a77b9b5f240a9a2451ed8387b23e924 /drivers/pci/pci-driver.c
parent6fdc99a224bd52020c602c3d4d57e5f8a75f6bb8 (diff)
downloadlinux-0b62e13b5c9b4871641973e024cc9dd440b5bb58.tar.gz
linux-0b62e13b5c9b4871641973e024cc9dd440b5bb58.tar.bz2
linux-0b62e13b5c9b4871641973e024cc9dd440b5bb58.zip
pci: rename __pci_reenable_device() to pci_reenable_device()
Rename __pci_reenable_device() to 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-driver.c')
-rw-r--r--drivers/pci/pci-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c
index 8e58ea3d95c0..004bc2487270 100644
--- a/drivers/pci/pci-driver.c
+++ b/drivers/pci/pci-driver.c
@@ -310,7 +310,7 @@ static int pci_default_resume(struct pci_dev *pci_dev)
/* restore the PCI config space */
pci_restore_state(pci_dev);
/* if the device was enabled before suspend, reenable */
- retval = __pci_reenable_device(pci_dev);
+ retval = pci_reenable_device(pci_dev);
/* if the device was busmaster before the suspend, make it busmaster again */
if (pci_dev->is_busmaster)
pci_set_master(pci_dev);