summaryrefslogtreecommitdiff
path: root/drivers/misc/imx8/scu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/imx8/scu.c')
-rw-r--r--drivers/misc/imx8/scu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/imx8/scu.c b/drivers/misc/imx8/scu.c
index 223aac8518..ee635eb947 100644
--- a/drivers/misc/imx8/scu.c
+++ b/drivers/misc/imx8/scu.c
@@ -187,7 +187,7 @@ static int imx8_scu_probe(struct udevice *dev)
debug("%s(dev=%p) (plat=%p)\n", __func__, dev, plat);
- addr = dev_read_addr(dev);
+ addr = devfdt_get_addr(dev);
if (addr == FDT_ADDR_T_NONE)
return -EINVAL;