diff options
Diffstat (limited to 'src/southbridge/intel/i82801jx/i82801jx.c')
-rw-r--r-- | src/southbridge/intel/i82801jx/i82801jx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82801jx/i82801jx.c b/src/southbridge/intel/i82801jx/i82801jx.c index 2f3ed4b195..64859f8ed1 100644 --- a/src/southbridge/intel/i82801jx/i82801jx.c +++ b/src/southbridge/intel/i82801jx/i82801jx.c @@ -136,7 +136,7 @@ static void i82801jx_ehci_init(void) static int i82801jx_function_disabled(const unsigned int devfn) { - const struct device *const dev = dev_find_slot(0, devfn); + struct device *const dev = pcidev_path_on_root(devfn); if (!dev) { printk(BIOS_EMERG, "PCI device 00:%x.%x", |