[coreboot-gerrit] Change in coreboot[master]: arch/{mips, power8}/include/arch: Don't use device_t

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Wed Sep 19 14:11:56 CEST 2018


Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/28675


Change subject: arch/{mips,power8}/include/arch: Don't use device_t
......................................................................

arch/{mips,power8}/include/arch: Don't use device_t

Use of device_t is deprecated.

Change-Id: I8790bc333caa367ef46bf80b5fecc3e90ef89ca0
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/arch/mips/include/arch/cpu.h
M src/arch/power8/include/arch/cpu.h
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/28675/1

diff --git a/src/arch/mips/include/arch/cpu.h b/src/arch/mips/include/arch/cpu.h
index f9f6197..8e35908 100644
--- a/src/arch/mips/include/arch/cpu.h
+++ b/src/arch/mips/include/arch/cpu.h
@@ -30,7 +30,7 @@
 struct thread;
 
 struct cpu_info {
-	device_t cpu;
+	struct device *cpu;
 	unsigned long index;
 };
 
diff --git a/src/arch/power8/include/arch/cpu.h b/src/arch/power8/include/arch/cpu.h
index e0fb72c..a4421e5 100644
--- a/src/arch/power8/include/arch/cpu.h
+++ b/src/arch/power8/include/arch/cpu.h
@@ -29,7 +29,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/28675
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: I8790bc333caa367ef46bf80b5fecc3e90ef89ca0
Gerrit-Change-Number: 28675
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/20180919/71fe2e39/attachment.html>


More information about the coreboot-gerrit mailing list