|
@@ -719,8 +719,9 @@ static int __init ibft_create_kobject(struct acpi_table_ibft *header,
|
|
|
* executes only devices which are in domain 0. Furthermore, the
|
|
|
* iBFT spec doesn't have a domain id field :-(
|
|
|
*/
|
|
|
- pci_dev = pci_get_bus_and_slot((nic->pci_bdf & 0xff00) >> 8,
|
|
|
- (nic->pci_bdf & 0xff));
|
|
|
+ pci_dev = pci_get_domain_bus_and_slot(0,
|
|
|
+ (nic->pci_bdf & 0xff00) >> 8,
|
|
|
+ (nic->pci_bdf & 0xff));
|
|
|
if (pci_dev) {
|
|
|
rc = sysfs_create_link(&boot_kobj->kobj,
|
|
|
&pci_dev->dev.kobj, "device");
|