[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>
This commit is contained in:
Родитель
81b26bcacd
Коммит
2433ee2654
|
@ -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,
|
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);
|
pdev->subsystem_vendor, pdev->subsystem_device);
|
||||||
|
|
||||||
if (pci_enable_device(pdev))
|
|
||||||
goto abort_free_ctlr;
|
|
||||||
|
|
||||||
mutex_init(&ctrl->crit_sect);
|
mutex_init(&ctrl->crit_sect);
|
||||||
/* setup wait queue */
|
/* setup wait queue */
|
||||||
init_waitqueue_head(&ctrl->queue);
|
init_waitqueue_head(&ctrl->queue);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче