diff options
Diffstat (limited to 'src/devices/oprom')
-rw-r--r-- | src/devices/oprom/yabel/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/oprom/yabel/device.c b/src/devices/oprom/yabel/device.c index 8bfb1fd0c6..7fdc438bbd 100644 --- a/src/devices/oprom/yabel/device.c +++ b/src/devices/oprom/yabel/device.c @@ -45,7 +45,7 @@ biosemu_dev_get_addr_info(void) { int taa_index = 0; struct resource *r; - u8 bus = bios_device.dev->bus->link; + u8 bus = bios_device.dev->bus->link_num; u16 devfn = bios_device.dev->path.pci.devfn; bios_device.bus = bus; |