aboutsummaryrefslogtreecommitdiff
path: root/src/devices/oprom/yabel/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/oprom/yabel/device.c')
-rw-r--r--src/devices/oprom/yabel/device.c2
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;