diff options
Diffstat (limited to 'drivers/cpu/riscv_cpu.c')
| -rw-r--r-- | drivers/cpu/riscv_cpu.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/cpu/riscv_cpu.c b/drivers/cpu/riscv_cpu.c index 93ce708f652..0b10c173a3e 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_plat *plat = dev_get_parent_plat(dev);  	struct driver *drv;  	int ret; | 
