summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/i2c/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/block/i2c/i2c.c')
-rw-r--r--src/soc/intel/common/block/i2c/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/i2c/i2c.c b/src/soc/intel/common/block/i2c/i2c.c
index 90670b6a4a..acc23abb0c 100644
--- a/src/soc/intel/common/block/i2c/i2c.c
+++ b/src/soc/intel/common/block/i2c/i2c.c
@@ -123,7 +123,7 @@ uintptr_t dw_i2c_base_address(unsigned int bus)
return (uintptr_t)NULL;
/* dev -> bar0 */
- res = find_resource(dev, PCI_BASE_ADDRESS_0);
+ res = probe_resource(dev, PCI_BASE_ADDRESS_0);
if (res)
return res->base;