aboutsummaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-09-19 14:09:33 +0200
committerMartin Roth <martinroth@google.com>2018-09-21 14:12:18 +0000
commita92b73f389b0f08f6cfb2389f80bc30837e32a46 (patch)
tree4d87aaf103cc2a868b8c20608825ffe74dca489f /src/arch
parent3d0af855d0313126fed1bb0635c83df050e87b8b (diff)
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@noos.fr> Reviewed-on: https://review.coreboot.org/28675 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/mips/include/arch/cpu.h2
-rw-r--r--src/arch/power8/include/arch/cpu.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/mips/include/arch/cpu.h b/src/arch/mips/include/arch/cpu.h
index f9f619739c..8e35908e4c 100644
--- a/src/arch/mips/include/arch/cpu.h
+++ b/src/arch/mips/include/arch/cpu.h
@@ -30,7 +30,7 @@ struct cpu_driver {
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 e0fb72c29d..a4421e57c2 100644
--- a/src/arch/power8/include/arch/cpu.h
+++ b/src/arch/power8/include/arch/cpu.h
@@ -29,7 +29,7 @@ struct cpu_driver {
struct thread;
struct cpu_info {
- device_t cpu;
+ struct device *cpu;
unsigned long index;
#if IS_ENABLED(CONFIG_COOP_MULTITASKING)
struct thread *thread;