summaryrefslogtreecommitdiff
path: root/src/soc/intel/braswell/lpe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/braswell/lpe.c')
-rw-r--r--src/soc/intel/braswell/lpe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/braswell/lpe.c b/src/soc/intel/braswell/lpe.c
index 59cabee707..323c9fc175 100644
--- a/src/soc/intel/braswell/lpe.c
+++ b/src/soc/intel/braswell/lpe.c
@@ -35,7 +35,7 @@ static void assign_device_nvs(struct device *dev, u32 *field,
{
struct resource *res;
- res = find_resource(dev, index);
+ res = probe_resource(dev, index);
if (res)
*field = res->base;
}
@@ -109,7 +109,7 @@ static void lpe_stash_firmware_info(struct device *dev)
struct resource *res;
struct resource *mmio;
- res = find_resource(dev, FIRMWARE_PCI_REG_BASE);
+ res = probe_resource(dev, FIRMWARE_PCI_REG_BASE);
if (res == NULL) {
printk(BIOS_DEBUG, "LPE Firmware memory not found.\n");
return;
@@ -162,7 +162,7 @@ static void lpe_set_resources(struct device *dev)
{
struct resource *res;
- res = find_resource(dev, PCI_BASE_ADDRESS_2);
+ res = probe_resource(dev, PCI_BASE_ADDRESS_2);
if (res != NULL)
res->flags |= IORESOURCE_STORED;