summaryrefslogtreecommitdiff
path: root/arch/arm/mach-snapdragon/clock-apq8016.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-snapdragon/clock-apq8016.c')
-rw-r--r--arch/arm/mach-snapdragon/clock-apq8016.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-snapdragon/clock-apq8016.c b/arch/arm/mach-snapdragon/clock-apq8016.c
index c2cf92494a..da05015c32 100644
--- a/arch/arm/mach-snapdragon/clock-apq8016.c
+++ b/arch/arm/mach-snapdragon/clock-apq8016.c
@@ -235,7 +235,7 @@ static int msm_clk_probe(struct udevice *dev)
{
struct msm_clk_priv *priv = dev_get_priv(dev);
- priv->base = dev_get_addr(dev);
+ priv->base = devfdt_get_addr(dev);
if (priv->base == FDT_ADDR_T_NONE)
return -EINVAL;