summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8786e/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/ite/it8786e/superio.c')
-rw-r--r--src/superio/ite/it8786e/superio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/ite/it8786e/superio.c b/src/superio/ite/it8786e/superio.c
index 55fff9154d..8d9ec1477e 100644
--- a/src/superio/ite/it8786e/superio.c
+++ b/src/superio/ite/it8786e/superio.c
@@ -20,7 +20,7 @@ static void it8786e_init(struct device *const dev)
switch (dev->path.pnp.device) {
case IT8786E_EC:
conf = dev->chip_info;
- res = find_resource(dev, PNP_IDX_IO0);
+ res = probe_resource(dev, PNP_IDX_IO0);
if (!conf || !res)
break;
ite_ec_init(res->base, &conf->ec);