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:
Ronald G. Minnich 2008-02-08 15:57:02 +00:00
parent d3a11c8953
commit 65f8d48095

View file

@ -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);