summaryrefslogtreecommitdiff
path: root/src/arch/x86/acpi.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 17:56:47 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 02:56:32 +0000
commit9dd89cd9586d0fa0b82a4a52da3232e35cfb5adb (patch)
tree8c667a178eae9aa6edc99000b431c3d0def41b1e /src/arch/x86/acpi.c
parent283f1f364ea8c814e091e24a6dd2a9322787d042 (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/arch/x86/acpi.c')
-rw-r--r--src/arch/x86/acpi.c2
1 files changed, 1 insertions, 1 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;