From a92b73f389b0f08f6cfb2389f80bc30837e32a46 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 19 Sep 2018 14:09:33 +0200 Subject: arch/{mips,power8}/include/arch: Don't use device_t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use of device_t is deprecated. Change-Id: I8790bc333caa367ef46bf80b5fecc3e90ef89ca0 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/28675 Tested-by: build bot (Jenkins) Reviewed-by: Jonathan Neuschäfer Reviewed-by: Paul Menzel --- src/arch/mips/include/arch/cpu.h | 2 +- src/arch/power8/include/arch/cpu.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch') 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; }; 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; -- cgit v1.2.3