coreboot-v2: drop this ugly historic union name in v2 that was dropped in v3
[coreboot.git] / src / devices / emulator / biosemu.c
index c0584354d2eb7874c12544ab722a88431956cab8..ebe5fc1df9137e7a1a4cedb894910c69d89d15df 100644 (file)
@@ -286,7 +286,7 @@ void run_bios(struct device * dev, unsigned long addr)
        int i;
        unsigned short initialcs = (addr & 0xF0000) >> 4;
        unsigned short initialip = (addr + 3) & 0xFFFF;
-       unsigned short devfn = dev->bus->secondary << 8 | dev->path.u.pci.devfn;
+       unsigned short devfn = dev->bus->secondary << 8 | dev->path.pci.devfn;
        X86EMU_intrFuncs intFuncs[256];
 
        X86EMU_setMemBase(0, 0x100000);