diff options
author | Kristen Accardi <kristen.c.accardi@intel.com> | 2006-04-25 00:50:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-19 23:13:22 +0200 |
commit | 2433ee2654f0ac86f7886e5a8d01bee7f3c7c6db (patch) | |
tree | 61e29c5f1adaccca28a6b059440b053d45da583a /drivers/pci/hotplug | |
parent | [PATCH] PCI Hotplug: don't use acpi_os_free (diff) | |
download | linux-2433ee2654f0ac86f7886e5a8d01bee7f3c7c6db.tar.xz linux-2433ee2654f0ac86f7886e5a8d01bee7f3c7c6db.zip |
[PATCH] pciehp: dont call pci_enable_dev
Don't call pci_enable_device from pciehp because the pcie port service driver
already does this.
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug')
-rw-r--r-- | drivers/pci/hotplug/pciehp_hpc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.c index 7f459dfeadd3..081dfef4fe62 100644 --- a/drivers/pci/hotplug/pciehp_hpc.c +++ b/drivers/pci/hotplug/pciehp_hpc.c @@ -1404,9 +1404,6 @@ int pcie_init(struct controller * ctrl, struct pcie_device *dev) info("HPC vendor_id %x device_id %x ss_vid %x ss_did %x\n", pdev->vendor, pdev->device, pdev->subsystem_vendor, pdev->subsystem_device); - if (pci_enable_device(pdev)) - goto abort_free_ctlr; - mutex_init(&ctrl->crit_sect); /* setup wait queue */ init_waitqueue_head(&ctrl->queue); |