diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-04 17:56:47 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-05-08 02:56:32 +0000 |
commit | 9dd89cd9586d0fa0b82a4a52da3232e35cfb5adb (patch) | |
tree | 8c667a178eae9aa6edc99000b431c3d0def41b1e /src | |
parent | 283f1f364ea8c814e091e24a6dd2a9322787d042 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/acpi.c | 2 | ||||
-rw-r--r-- | src/arch/x86/include/arch/acpi.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c index 3b4896b118..8b6b2c1d28 100644 --- a/src/arch/x86/acpi.c +++ b/src/arch/x86/acpi.c @@ -640,7 +640,7 @@ void acpi_create_ivrs(acpi_ivrs_t *ivrs, 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_hpet_t *hpet; diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h index fe0c6f25b0..586a0851ad 100644 --- a/src/arch/x86/include/arch/acpi.h +++ b/src/arch/x86/include/arch/acpi.h @@ -693,11 +693,11 @@ void acpi_create_ivrs(acpi_ivrs_t *ivrs, #if ENV_RAMSTAGE && !defined(__SIMPLE_DEVICE__) 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); /* cpu/intel/speedstep/acpi.c */ -void generate_cpu_entries(device_t device); +void generate_cpu_entries(struct device *device); #endif void acpi_create_mcfg(acpi_mcfg_t *mcfg); |