X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fcpu%2Friscv_cpu.c;h=3899d4dd236fd01bcfaa990b76cf5690dacf5931;hb=caa4daa2ae3dc0a3e516addea5772c9af76abcb0;hp=93ce708f652bb266387b19ab3dca9d8838f95112;hpb=41575d8e4c334df148c4cdd7c40cc825dc0fcaa1;p=platform%2Fkernel%2Fu-boot.git diff --git a/drivers/cpu/riscv_cpu.c b/drivers/cpu/riscv_cpu.c index 93ce708..3899d4d 100644 --- a/drivers/cpu/riscv_cpu.c +++ b/drivers/cpu/riscv_cpu.c @@ -91,7 +91,7 @@ static int riscv_cpu_get_count(const struct udevice *dev) static int riscv_cpu_bind(struct udevice *dev) { - struct cpu_platdata *plat = dev_get_parent_platdata(dev); + struct cpu_platdata *plat = dev_get_parent_plat(dev); struct driver *drv; int ret;