From 928979cb2b4cbf4cf79febca311bcb0b8cdd0535 Mon Sep 17 00:00:00 2001 From: Philipp Tomsich Date: Fri, 14 Jul 2017 18:09:51 +0200 Subject: [PATCH] rockchip: efuse: dm: change to use dev_read_addr This changes the rockchip-efuse driver to use dev_read_addr instead of devfdt_get_addr. Signed-off-by: Philipp Tomsich Acked-by: Philipp Tomsich --- drivers/misc/rockchip-efuse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/rockchip-efuse.c b/drivers/misc/rockchip-efuse.c index 423d24c..2e3bc91 100644 --- a/drivers/misc/rockchip-efuse.c +++ b/drivers/misc/rockchip-efuse.c @@ -142,7 +142,7 @@ static int rockchip_efuse_ofdata_to_platdata(struct udevice *dev) { struct rockchip_efuse_platdata *plat = dev_get_platdata(dev); - plat->base = (void *)devfdt_get_addr(dev); + plat->base = (void *)dev_read_addr(dev); return 0; } -- 2.7.4