* [U-Boot] [PATCH] rockchip: rk3328: fix rockchip_get_cru api
@ 2017-10-25 8:24 Kever Yang
2017-10-31 21:51 ` [U-Boot] " Philipp Tomsich
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Kever Yang @ 2017-10-25 8:24 UTC (permalink / raw)
To: u-boot
The API for get priv pointer is wrong, fix it.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
---
arch/arm/mach-rockchip/rk3328/clk_rk3328.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-rockchip/rk3328/clk_rk3328.c b/arch/arm/mach-rockchip/rk3328/clk_rk3328.c
index 4dcac27..013d777 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;
}
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] rockchip: rk3328: fix rockchip_get_cru api
2017-10-25 8:24 [U-Boot] [PATCH] rockchip: rk3328: fix rockchip_get_cru api Kever Yang
@ 2017-10-31 21:51 ` Philipp Tomsich
2017-10-31 21:52 ` Philipp Tomsich
2017-10-31 21:59 ` Philipp Tomsich
2 siblings, 0 replies; 4+ messages in thread
From: Philipp Tomsich @ 2017-10-31 21:51 UTC (permalink / raw)
To: u-boot
> The API for get priv pointer is wrong, fix it.
>
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> ---
>
> arch/arm/mach-rockchip/rk3328/clk_rk3328.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] rockchip: rk3328: fix rockchip_get_cru api
2017-10-25 8:24 [U-Boot] [PATCH] rockchip: rk3328: fix rockchip_get_cru api Kever Yang
2017-10-31 21:51 ` [U-Boot] " Philipp Tomsich
@ 2017-10-31 21:52 ` Philipp Tomsich
2017-10-31 21:59 ` Philipp Tomsich
2 siblings, 0 replies; 4+ messages in thread
From: Philipp Tomsich @ 2017-10-31 21:52 UTC (permalink / raw)
To: u-boot
> The API for get priv pointer is wrong, fix it.
>
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> ---
>
> arch/arm/mach-rockchip/rk3328/clk_rk3328.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] rockchip: rk3328: fix rockchip_get_cru api
2017-10-25 8:24 [U-Boot] [PATCH] rockchip: rk3328: fix rockchip_get_cru api Kever Yang
2017-10-31 21:51 ` [U-Boot] " Philipp Tomsich
2017-10-31 21:52 ` Philipp Tomsich
@ 2017-10-31 21:59 ` Philipp Tomsich
2 siblings, 0 replies; 4+ messages in thread
From: Philipp Tomsich @ 2017-10-31 21:59 UTC (permalink / raw)
To: u-boot
> The API for get priv pointer is wrong, fix it.
>
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
>
> arch/arm/mach-rockchip/rk3328/clk_rk3328.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied to u-boot-rockchip, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-10-31 21:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-25 8:24 [U-Boot] [PATCH] rockchip: rk3328: fix rockchip_get_cru api Kever Yang
2017-10-31 21:51 ` [U-Boot] " Philipp Tomsich
2017-10-31 21:52 ` Philipp Tomsich
2017-10-31 21:59 ` Philipp Tomsich
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.