summaryrefslogtreecommitdiff
path: root/src/arch/mips
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/mips
parent3d0af855d0313126fed1bb0635c83df050e87b8b (diff)
downloadcoreboot-a92b73f389b0f08f6cfb2389f80bc30837e32a46.tar.xz
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/mips')
-rw-r--r--src/arch/mips/include/arch/cpu.h2
1 files changed, 1 insertions, 1 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;
};