Message ID | 4AFA4CD7.5050301@jp.fujitsu.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Index: 20091110/drivers/pci/hotplug/pcihp_slot.c =================================================================== --- 20091110.orig/drivers/pci/hotplug/pcihp_slot.c +++ 20091110/drivers/pci/hotplug/pcihp_slot.c @@ -102,7 +102,7 @@ static void program_hpp_type2(struct pci return; /* Find PCI Express capability */ - pos = pci_find_capability(dev, PCI_CAP_ID_EXP); + pos = pci_pcie_cap(dev); if (!pos) return;