summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/common/block/thermal/thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/block/thermal/thermal.c')
-rw-r--r--src/soc/intel/common/block/thermal/thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/thermal/thermal.c b/src/soc/intel/common/block/thermal/thermal.c
index 13e5285abc0b..f88699531e85 100644
--- a/src/soc/intel/common/block/thermal/thermal.c
+++ b/src/soc/intel/common/block/thermal/thermal.c
@@ -55,7 +55,7 @@ void pch_thermal_configuration(void)
return;
}
- res = find_resource(dev, PCI_BASE_ADDRESS_0);
+ res = probe_resource(dev, PCI_BASE_ADDRESS_0);
if (!res) {
printk(BIOS_ERR, "ERROR: PCH thermal device not found!\n");
return;