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:
parent
3d0af855d0
commit
a92b73f389
|
@ -30,7 +30,7 @@ struct cpu_driver {
|
||||||
struct thread;
|
struct thread;
|
||||||
|
|
||||||
struct cpu_info {
|
struct cpu_info {
|
||||||
device_t cpu;
|
struct device *cpu;
|
||||||
unsigned long index;
|
unsigned long index;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ struct cpu_driver {
|
||||||
struct thread;
|
struct thread;
|
||||||
|
|
||||||
struct cpu_info {
|
struct cpu_info {
|
||||||
device_t cpu;
|
struct device *cpu;
|
||||||
unsigned long index;
|
unsigned long index;
|
||||||
#if IS_ENABLED(CONFIG_COOP_MULTITASKING)
|
#if IS_ENABLED(CONFIG_COOP_MULTITASKING)
|
||||||
struct thread *thread;
|
struct thread *thread;
|
||||||
|
|
Loading…
Reference in New Issue