[coreboot-gerrit] Change in coreboot[master]: arch/riscv/include/arch: Don't use device_t

Martin Roth (Code Review) gerrit at coreboot.org
Fri Sep 21 16:04:34 CEST 2018


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 at noos.fr>
Reviewed-on: https://review.coreboot.org/28691
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Tested-by: build bot (Jenkins) <no-reply at 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;

-- 
To view, visit https://review.coreboot.org/28691
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: If52de0d87b02419090b29a7cf1952905d3f975f6
Gerrit-Change-Number: 28691
Gerrit-PatchSet: 3
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Gerrit-Reviewer: Martin Roth <martinroth at google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180921/ae4ff70f/attachment.html>


More information about the coreboot-gerrit mailing list