summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-11-01 09:32:14 -0400
committerTom Rini <trini@konsulko.com>2017-11-01 09:32:14 -0400
commita0cdb534e121185a72c881e76fa802486eba0f4f (patch)
tree12291b8b8305ba467c759b40cfbdecdc8509ba47 /arch
parent3c1af17c5eebc3718095907c254ae3eb8a3412f8 (diff)
parented6be4fcdfd4db56081e366c40dee7c3fb19ef59 (diff)
Merge git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-rockchip/rk3328/clk_rk3328.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/rk3328/clk_rk3328.c b/arch/arm/mach-rockchip/rk3328/clk_rk3328.c
index 4dcac27cc7..013d777a02 100644
--- a/arch/arm/mach-rockchip/rk3328/clk_rk3328.c
+++ b/arch/arm/mach-rockchip/rk3328/clk_rk3328.c
@@ -25,7 +25,7 @@ void *rockchip_get_cru(void)
if (ret)
return ERR_PTR(ret);
- priv = devfdt_get_addr_ptr(dev);
+ priv = dev_get_priv(dev);
return priv->cru;
}