From 5ef2f13870bd94df41f84f0c880fc23ee7ad0cc9 Mon Sep 17 00:00:00 2001 From: Antonello Dettori Date: Fri, 2 Sep 2016 09:13:10 +0200 Subject: [PATCH] UPSTREAM: northbridge/intel/nehalem: transition away from device_t Replace the use of the old device_t definition inside northbridge/intel/nehalem. The patch has been tested both with the arch/io.h definition of device_t enabled and disabled in order to ensure compatibility while the transaction takes place. BUG=None BRANCH=None TEST=None Signed-off-by: Antonello Dettori Reviewed-on: https://review.coreboot.org/16406 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Change-Id: I6da4e0a9ef21b3285f4a369c8ddfbdb32a7a3801 Reviewed-on: https://chromium-review.googlesource.com/385011 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin --- src/northbridge/intel/nehalem/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/northbridge/intel/nehalem/acpi.c b/src/northbridge/intel/nehalem/acpi.c index 42761fa389..3471282984 100644 --- a/src/northbridge/intel/nehalem/acpi.c +++ b/src/northbridge/intel/nehalem/acpi.c @@ -130,7 +130,7 @@ static int init_opregion_vbt(igd_opregion_t * opregion) /* Initialize IGD OpRegion, called from ACPI code */ int init_igd_opregion(igd_opregion_t * opregion) { - device_t igd; + pci_devfn_t igd; u16 reg16; memset((void *)opregion, 0, sizeof(igd_opregion_t));