summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
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;