diff options
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/intel/fsp_rangeley/acpi.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/i82801dx/i82801dx.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/i82801ix/i82801ix.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/i82801jx/i82801jx.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/southbridge/intel/fsp_rangeley/acpi.c b/src/southbridge/intel/fsp_rangeley/acpi.c index fbdc6e320b..96ddea5be6 100644 --- a/src/southbridge/intel/fsp_rangeley/acpi.c +++ b/src/southbridge/intel/fsp_rangeley/acpi.c @@ -34,7 +34,7 @@ typedef struct southbridge_intel_fsp_rangeley_config config_t; void acpi_fill_in_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt) { acpi_header_t *header = &(fadt->header); - struct device *lpcdev = dev_find_slot(0, SOC_LPC_DEVFN); + struct device *lpcdev = pcidev_path_on_root(SOC_LPC_DEVFN); u16 pmbase = pci_read_config16(lpcdev, ABASE) & 0xfff0; config_t *config = lpcdev->chip_info; diff --git a/src/southbridge/intel/i82801dx/i82801dx.c b/src/southbridge/intel/i82801dx/i82801dx.c index 8db591c177..f233eed395 100644 --- a/src/southbridge/intel/i82801dx/i82801dx.c +++ b/src/southbridge/intel/i82801dx/i82801dx.c @@ -26,7 +26,7 @@ void i82801dx_enable(struct device *dev) // all 82801dbm devices are in bus 0 unsigned int devfn = PCI_DEVFN(0x1f, 0); // lpc - struct device *lpc_dev = dev_find_slot(0, devfn); // 0 + struct device *lpc_dev = pcidev_path_on_root(devfn); // 0 if (!lpc_dev) return; diff --git a/src/southbridge/intel/i82801ix/i82801ix.c b/src/southbridge/intel/i82801ix/i82801ix.c index 46838fcbf4..f3027bf260 100644 --- a/src/southbridge/intel/i82801ix/i82801ix.c +++ b/src/southbridge/intel/i82801ix/i82801ix.c @@ -137,7 +137,7 @@ static void i82801ix_ehci_init(void) static int i82801ix_function_disabled(const unsigned 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", 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", |