From 4ad45fd6c712f8aebc8fc440a64b67d6d48bfcfb Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Wed, 20 Feb 2008 13:33:36 +0000 Subject: [PATCH] The commit in r558 had this: > > Author: rminnich > > util/x86emu/vm86.c > > Change uses of dev_find_device to dev_find_pci_device Unfortunately, x86emu/pcbios/pcibios.c was missed in the conversion. Fix it to get builds with x86emu compiling again. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Corey Osgood git-svn-id: svn://coreboot.org/repository/coreboot-v3@612 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- util/x86emu/pcbios/pcibios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/x86emu/pcbios/pcibios.c b/util/x86emu/pcbios/pcibios.c index 9bdaecef99..ea797d740b 100644 --- a/util/x86emu/pcbios/pcibios.c +++ b/util/x86emu/pcbios/pcibios.c @@ -61,7 +61,7 @@ int pcibios_handler(void) break; case FIND_PCI_DEVICE: /* FixME: support SI != 0 */ - dev = dev_find_device(X86_DX, X86_CX, dev); + dev = dev_find_pci_device(X86_DX, X86_CX, dev); if (dev != 0) { X86_BH = dev->bus->secondary; X86_BL = dev->path.u.pci.devfn;