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>
This commit is contained in:
Elyes HAOUAS 2018-09-19 14:09:33 +02:00 committed by Martin Roth
parent 3d0af855d0
commit a92b73f389
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ struct cpu_driver {
struct thread;
struct cpu_info {
device_t cpu;
struct device *cpu;
unsigned long index;
};

View File

@ -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;