mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Trivial patch: for an id, use DEVICE_ID_PCI, not DEVICE_PATH_PCI.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://coreboot.org/repository/coreboot-v3@581 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
d3a11c8953
commit
65f8d48095
1 changed files with 1 additions and 1 deletions
|
@ -972,7 +972,7 @@ struct device *pci_probe_dev(struct device *dev, struct bus *bus,
|
|||
devfn, id);
|
||||
return NULL;
|
||||
}
|
||||
devid.type = DEVICE_PATH_PCI;
|
||||
devid.type = DEVICE_ID_PCI;
|
||||
devid.u.pci.vendor = id & 0xffff;
|
||||
devid.u.pci.device = id >> 16;
|
||||
dev = alloc_dev(bus, &dummy.path, &devid);
|
||||
|
|
Loading…
Add table
Reference in a new issue