From d2d8a31305d83dd6c068d51a7f002377f5b5a0a5 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 8 Feb 2018 13:38:21 +0100 Subject: cpu/amd: Get rid of device_t Use of `device_t` has been abandoned in ramstage. Change-Id: I4b930a191130941c8349861cdd803a5be4219274 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/23653 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/cpu/amd/dualcore/amd_sibling.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cpu/amd/dualcore') diff --git a/src/cpu/amd/dualcore/amd_sibling.c b/src/cpu/amd/dualcore/amd_sibling.c index 693ceb87cd..9a450a52d8 100644 --- a/src/cpu/amd/dualcore/amd_sibling.c +++ b/src/cpu/amd/dualcore/amd_sibling.c @@ -32,7 +32,7 @@ static int disable_siblings = !CONFIG_LOGICAL_CPUS; static int get_max_siblings(int nodes) { - device_t dev; + struct device *dev; int nodeid; int siblings=0; @@ -51,7 +51,7 @@ static int get_max_siblings(int nodes) static void enable_apic_ext_id(int nodes) { - device_t dev; + struct device *dev; int nodeid; //enable APIC_EXIT_ID all the nodes @@ -67,7 +67,7 @@ static void enable_apic_ext_id(int nodes) unsigned get_apicid_base(unsigned ioapic_num) { - device_t dev; + struct device *dev; int nodes; unsigned apicid_base; int siblings; -- cgit v1.2.3