diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-09-19 14:09:33 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-09-21 14:12:18 +0000 |
commit | a92b73f389b0f08f6cfb2389f80bc30837e32a46 (patch) | |
tree | 4d87aaf103cc2a868b8c20608825ffe74dca489f /src/arch/power8/include | |
parent | 3d0af855d0313126fed1bb0635c83df050e87b8b (diff) |
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/power8/include')
-rw-r--r-- | src/arch/power8/include/arch/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |