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

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Thu Sep 20 08:11:15 CEST 2018


Elyes HAOUAS has uploaded this change for review. ( 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>
---
M src/arch/riscv/include/arch/cpu.h
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/28691/1

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: newchange
Gerrit-Change-Id: If52de0d87b02419090b29a7cf1952905d3f975f6
Gerrit-Change-Number: 28691
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180920/902588e9/attachment.html>


More information about the coreboot-gerrit mailing list