diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-02 21:54:59 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-04 10:19:26 +0000 |
commit | 263076c49e422cc341c3538a45a6269bc69404a4 (patch) | |
tree | 51af45d2a4e49168d94f99e9c11f77ff7abb7773 /src | |
parent | 6e019d88eec2fcd4a2132e04ec6132ce87129119 (diff) | |
download | coreboot-263076c49e422cc341c3538a45a6269bc69404a4.tar.xz |
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 <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26009
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/intel/gma/opregion.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |