aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdfam10/acpi.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-06-10 23:36:44 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-06-14 09:29:31 +0000
commitc8a649c08f92d4d2255626da4e1cd7a6d71469e7 (patch)
tree14a899738d09b37030585aca3b59344595208e36 /src/northbridge/amd/amdfam10/acpi.c
parent846b4941fee842bc359fa2b611cf0c3fc4f158b2 (diff)
src: Use of device_t is deprecated
Change-Id: I9cebfc5c77187bd81094031c43ff6df094908417 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/27010 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/northbridge/amd/amdfam10/acpi.c')
-rw-r--r--src/northbridge/amd/amdfam10/acpi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/amd/amdfam10/acpi.c b/src/northbridge/amd/amdfam10/acpi.c
index e67a127cf4..eaea725360 100644
--- a/src/northbridge/amd/amdfam10/acpi.c
+++ b/src/northbridge/amd/amdfam10/acpi.c
@@ -28,7 +28,7 @@
unsigned long acpi_create_madt_lapic_nmis(unsigned long current, u16 flags, u8 lint)
{
- device_t cpu;
+ struct device *cpu;
int cpu_index = 0;
for (cpu = all_devices; cpu; cpu = cpu->next) {
@@ -47,7 +47,7 @@ unsigned long acpi_create_madt_lapic_nmis(unsigned long current, u16 flags, u8 l
unsigned long acpi_create_srat_lapics(unsigned long current)
{
- device_t cpu;
+ struct device *cpu;
int cpu_index = 0;
for (cpu = all_devices; cpu; cpu = cpu->next) {
@@ -193,7 +193,7 @@ void update_ssdtx(void *ssdtx, int i)
}
-void northbridge_acpi_write_vars(device_t device)
+void northbridge_acpi_write_vars(struct device *device)
{
/*
* If more than one physical CPU is installed, northbridge_acpi_write_vars()
@@ -326,7 +326,7 @@ void northbridge_acpi_write_vars(device_t device)
acpigen_pop_len();
}
-unsigned long northbridge_write_acpi_tables(device_t device,
+unsigned long northbridge_write_acpi_tables(struct device *device,
unsigned long current,
struct acpi_rsdp *rsdp)
{