arch/x86/acpi: Get rid of device_t

Use of device_t has been abandoned in ramstage.

Change-Id: I54bebc245df6e967acd30a0b029557e23f8da529
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26065
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
Elyes HAOUAS 2018-05-04 17:56:47 +02:00 committed by Martin Roth
parent 283f1f364e
commit 9dd89cd958
2 changed files with 3 additions and 3 deletions

View File

@ -640,7 +640,7 @@ void acpi_create_ivrs(acpi_ivrs_t *ivrs,
header->checksum = acpi_checksum((void *)ivrs, header->length); header->checksum = acpi_checksum((void *)ivrs, header->length);
} }
unsigned long acpi_write_hpet(device_t device, unsigned long current, unsigned long acpi_write_hpet(struct device *device, unsigned long current,
acpi_rsdp_t *rsdp) acpi_rsdp_t *rsdp)
{ {
acpi_hpet_t *hpet; acpi_hpet_t *hpet;

View File

@ -693,11 +693,11 @@ void acpi_create_ivrs(acpi_ivrs_t *ivrs,
#if ENV_RAMSTAGE && !defined(__SIMPLE_DEVICE__) #if ENV_RAMSTAGE && !defined(__SIMPLE_DEVICE__)
void acpi_create_hpet(acpi_hpet_t *hpet); void acpi_create_hpet(acpi_hpet_t *hpet);
unsigned long acpi_write_hpet(device_t device, unsigned long start, unsigned long acpi_write_hpet(struct device *device, unsigned long start,
acpi_rsdp_t *rsdp); acpi_rsdp_t *rsdp);
/* cpu/intel/speedstep/acpi.c */ /* cpu/intel/speedstep/acpi.c */
void generate_cpu_entries(device_t device); void generate_cpu_entries(struct device *device);
#endif #endif
void acpi_create_mcfg(acpi_mcfg_t *mcfg); void acpi_create_mcfg(acpi_mcfg_t *mcfg);