diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-13 13:25:13 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-05-14 22:26:46 +0000 |
commit | 07e77f13d4987a4424be254f439bb6ac505761a7 (patch) | |
tree | 114e5fd1ad8107a2437022b9e83746ef970cc3ee /src/southbridge/intel/i82371eb/acpi_tables.c | |
parent | 6f7e8dee588de6f425c27a8271e2cdcb8075deeb (diff) | |
download | coreboot-07e77f13d4987a4424be254f439bb6ac505761a7.tar.xz |
sb/intel/i82371eb: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: Ie366a49045940747eb5cc1e38316cce31c5774cb
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26251
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/southbridge/intel/i82371eb/acpi_tables.c')
-rw-r--r-- | src/southbridge/intel/i82371eb/acpi_tables.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82371eb/acpi_tables.c b/src/southbridge/intel/i82371eb/acpi_tables.c index 59d5dea104..9a720e2cf4 100644 --- a/src/southbridge/intel/i82371eb/acpi_tables.c +++ b/src/southbridge/intel/i82371eb/acpi_tables.c @@ -26,7 +26,7 @@ static int determine_total_number_of_cores(void) { - device_t cpu; + struct device *cpu; int count = 0; for (cpu = all_devices; cpu; cpu = cpu->next) { if ((cpu->path.type != DEVICE_PATH_APIC) || @@ -41,7 +41,7 @@ static int determine_total_number_of_cores(void) return count; } -void generate_cpu_entries(device_t device) +void generate_cpu_entries(struct device *device) { int cpu, pcontrol_blk=DEFAULT_PMBASE+PCNTRL, plen=6; int numcpus = determine_total_number_of_cores(); |