[U-Boot] [PATCH v2 1/7] rockchip: clk: rv1108: rename dev_get_addr
Philipp Tomsich
philipp.tomsich at theobroma-systems.com
Tue Jun 6 13:42:26 UTC 2017
After rebasing to u-boot-rockchip/master at 2b19b2f, buildman fails for
rv1108 with:
../drivers/clk/rockchip/clk_rv1108.c: In function 'rv1108_clk_probe':
../drivers/clk/rockchip/clk_rv1108.c:191:22: warning: implicit declaration of function 'dev_get_addr' [-Wimplicit-function-declaration]
priv->cru = (struct rv1108_cru *)dev_get_addr(dev);
This change tracks the dev_get_addr rename, which didn't make it into
the rv1108 clk driver.
Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
---
Changes in v2:
- (new patch) rename dev_get_addr in the RV1108 clk-driver to fix a
buildman failure for u-boot-rockchip/master at 2b19b2f
drivers/clk/rockchip/clk_rv1108.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/rockchip/clk_rv1108.c b/drivers/clk/rockchip/clk_rv1108.c
index 0946dab..0a3ba3b 100644
--- a/drivers/clk/rockchip/clk_rv1108.c
+++ b/drivers/clk/rockchip/clk_rv1108.c
@@ -188,7 +188,7 @@ static int rv1108_clk_probe(struct udevice *dev)
{
struct rv1108_clk_priv *priv = dev_get_priv(dev);
- priv->cru = (struct rv1108_cru *)dev_get_addr(dev);
+ priv->cru = (struct rv1108_cru *)devfdt_get_addr(dev);
rkclk_init(priv->cru);
--
2.1.4
More information about the U-Boot
mailing list