diff options
author | Kever Yang | 2017-10-25 16:24:48 +0800 |
---|---|---|
committer | Philipp Tomsich | 2017-11-01 11:21:32 +0100 |
commit | 36de37f5ca55ffd426f3e16ba085a4e7defdfa3b (patch) | |
tree | f11d7f5e8a04de19492d227780026c08a1338929 /arch/arm/mach-rockchip/rk3328 | |
parent | 9f636a249c126b74e673e6d9592215f9b06c4f0b (diff) |
rockchip: rk3328: fix rockchip_get_cru api
The API for get priv pointer is wrong, fix it.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'arch/arm/mach-rockchip/rk3328')
-rw-r--r-- | arch/arm/mach-rockchip/rk3328/clk_rk3328.c | 2 |
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 4dcac27cc7e..013d777a027 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; } |