summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-09-20 08:10:05 +0200
committerMartin Roth <martinroth@google.com>2018-09-21 14:04:31 +0000
commite2d76a15d1b16040ec2122ddb393c675c2293f1f (patch)
treecc43994cc3c5f64e2c2e91157555674975d86cdd /src/arch
parent27d3f71f1d55f257390a51d0bd012cf133a763f6 (diff)
arch/riscv/include/arch: Don't use device_t
Use of device_t is deprecated. Change-Id: If52de0d87b02419090b29a7cf1952905d3f975f6 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/28691 Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/riscv/include/arch/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/riscv/include/arch/cpu.h b/src/arch/riscv/include/arch/cpu.h
index d2f42a8665..4ee580cd96 100644
--- a/src/arch/riscv/include/arch/cpu.h
+++ b/src/arch/riscv/include/arch/cpu.h
@@ -31,7 +31,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;