summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/ath79/pinctrl_qca953x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pinctrl/ath79/pinctrl_qca953x.c')
-rw-r--r--drivers/pinctrl/ath79/pinctrl_qca953x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/ath79/pinctrl_qca953x.c b/drivers/pinctrl/ath79/pinctrl_qca953x.c
index a7f8c7082e..abc0368593 100644
--- a/drivers/pinctrl/ath79/pinctrl_qca953x.c
+++ b/drivers/pinctrl/ath79/pinctrl_qca953x.c
@@ -131,7 +131,7 @@ static int qca953x_pinctrl_probe(struct udevice *dev)
struct qca953x_pinctrl_priv *priv = dev_get_priv(dev);
fdt_addr_t addr;
- addr = dev_get_addr(dev);
+ addr = devfdt_get_addr(dev);
if (addr == FDT_ADDR_T_NONE)
return -EINVAL;