aboutsummaryrefslogtreecommitdiff
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 ee635eb9471..223aac8518a 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 = devfdt_get_addr(dev);
+ addr = dev_read_addr(dev);
if (addr == FDT_ADDR_T_NONE)
return -EINVAL;