summaryrefslogtreecommitdiff
path: root/drivers/gpio/atmel_pio4.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/atmel_pio4.c')
-rw-r--r--drivers/gpio/atmel_pio4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/atmel_pio4.c b/drivers/gpio/atmel_pio4.c
index 81c3047551..73a5c54bef 100644
--- a/drivers/gpio/atmel_pio4.c
+++ b/drivers/gpio/atmel_pio4.c
@@ -299,7 +299,7 @@ static int atmel_pio4_probe(struct udevice *dev)
clk_free(&clk);
- addr_base = dev_get_addr(dev);
+ addr_base = devfdt_get_addr(dev);
if (addr_base == FDT_ADDR_T_NONE)
return -EINVAL;