Messages in this thread Patch in this message | | | Subject | [patch] pciehp: dont call pci_enable_dev | From | Kristen Accardi <> | Date | Mon, 24 Apr 2006 15:50:59 -0700 |
| |
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> --- drivers/pci/hotplug/pciehp_hpc.c | 3 --- 1 files changed, 3 deletions(-)
--- 2.6-git-pcie.orig/drivers/pci/hotplug/pciehp_hpc.c +++ 2.6-git-pcie/drivers/pci/hotplug/pciehp_hpc.c @@ -1404,9 +1404,6 @@ int pcie_init(struct controller * ctrl, 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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |