From 263076c49e422cc341c3538a45a6269bc69404a4 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 2 May 2018 21:54:59 +0200 Subject: [PATCH] drivers/intel/gma/opregion.c: Get rid of device_t Use of `device_t` has been abandoned in ramstage. Change-Id: Idff2ec30f0b8c9a49f4369e231be92cbc8070dc0 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26009 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/drivers/intel/gma/opregion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/intel/gma/opregion.c b/src/drivers/intel/gma/opregion.c index b939b88324..ed2297a4fc 100644 --- a/src/drivers/intel/gma/opregion.c +++ b/src/drivers/intel/gma/opregion.c @@ -30,7 +30,7 @@ /* Write ASLS PCI register and prepare SWSCI register. */ void intel_gma_opregion_register(uintptr_t opregion) { - device_t igd; + struct device *igd; u16 reg16; u16 sci_reg;