summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/acpi/acpi.c2
-rw-r--r--src/device/azalia_device.c2
-rw-r--r--src/mainboard/siemens/mc_apl1/mainboard.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c
index 282d734bd7..60f8c21335 100644
--- a/src/acpi/acpi.c
+++ b/src/acpi/acpi.c
@@ -1248,7 +1248,7 @@ unsigned long acpi_write_dbg2_pci_uart(acpi_rsdp_t *rsdp, unsigned long current,
printk(BIOS_INFO, "%s: Device not enabled\n", __func__);
return current;
}
- res = find_resource(dev, PCI_BASE_ADDRESS_0);
+ res = probe_resource(dev, PCI_BASE_ADDRESS_0);
if (!res) {
printk(BIOS_ERR, "%s: Unable to find resource for %s\n",
__func__, dev_path(dev));
diff --git a/src/device/azalia_device.c b/src/device/azalia_device.c
index 70f8348a7c..a223e76e1a 100644
--- a/src/device/azalia_device.c
+++ b/src/device/azalia_device.c
@@ -285,7 +285,7 @@ void azalia_audio_init(struct device *dev)
struct resource *res;
u16 codec_mask;
- res = find_resource(dev, PCI_BASE_ADDRESS_0);
+ res = probe_resource(dev, PCI_BASE_ADDRESS_0);
if (!res)
return;
diff --git a/src/mainboard/siemens/mc_apl1/mainboard.c b/src/mainboard/siemens/mc_apl1/mainboard.c
index 7ac8764b60..24e61dcf95 100644
--- a/src/mainboard/siemens/mc_apl1/mainboard.c
+++ b/src/mainboard/siemens/mc_apl1/mainboard.c
@@ -229,7 +229,7 @@ static void mainboard_final(void *chip_info)
dev = pcidev_path_on_root(PCH_DEVFN_SDCARD);
if (dev) {
uint32_t reg;
- struct resource *res = find_resource(dev, PCI_BASE_ADDRESS_0);
+ struct resource *res = probe_resource(dev, PCI_BASE_ADDRESS_0);
if (!res)
return;