aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/intel/x4x/acpi.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-02-08 14:59:03 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-04-30 09:22:32 +0000
commitfea02e1439476f2acbd151a4d1873cd118f33a60 (patch)
treeebbd08269782ebb57f3f300cf3949e2e3dae94b1 /src/northbridge/intel/x4x/acpi.c
parent658a9348f07672a16163f6be5a2b4448bff64188 (diff)
nb/x4x: Get rid of device_t
Use of `device_t` has been abandoned in ramstage. Change-Id: Ib3e708a7fa9f0a78dc704a502a2f01ee0fe209ae Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/23655 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/northbridge/intel/x4x/acpi.c')
-rw-r--r--src/northbridge/intel/x4x/acpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/x4x/acpi.c b/src/northbridge/intel/x4x/acpi.c
index 21f7aa91f0..678486c8a5 100644
--- a/src/northbridge/intel/x4x/acpi.c
+++ b/src/northbridge/intel/x4x/acpi.c
@@ -30,7 +30,7 @@
unsigned long acpi_fill_mcfg(unsigned long current)
{
- device_t dev;
+ struct device *dev;
u32 pciexbar = 0;
u32 length = 0;
@@ -44,7 +44,7 @@ unsigned long acpi_fill_mcfg(unsigned long current)
return current;
}
-unsigned long northbridge_write_acpi_tables(device_t device,
+unsigned long northbridge_write_acpi_tables(struct device *device,
unsigned long start,
struct acpi_rsdp *rsdp)
{