Martin Roth has submitted this change and it was merged. ( https://review.coreboot.org/28691 )
Change subject: arch/riscv/include/arch: Don't use device_t ......................................................................
arch/riscv/include/arch: Don't use device_t
Use of device_t is deprecated.
Change-Id: If52de0d87b02419090b29a7cf1952905d3f975f6 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/28691 Reviewed-by: Jonathan Neuschäfer j.neuschaefer@gmx.net Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/arch/riscv/include/arch/cpu.h 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Jonathan Neuschäfer: Looks good to me, approved
diff --git a/src/arch/riscv/include/arch/cpu.h b/src/arch/riscv/include/arch/cpu.h index d2f42a8..4ee580c 100644 --- a/src/arch/riscv/include/arch/cpu.h +++ b/src/arch/riscv/include/arch/cpu.h @@ -31,7 +31,7 @@ struct thread;
struct cpu_info { - device_t cpu; + struct device *cpu; unsigned long index; #if IS_ENABLED(CONFIG_COOP_MULTITASKING) struct thread *thread;