diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-10-23 14:53:59 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-10-24 21:43:47 +0000 |
commit | e153a35029ac6ee5874a9cef45594410aa6e61b8 (patch) | |
tree | 4fd195e6e8a2dcfdb43df7b58dc52fda8ca1a033 /src/northbridge/intel | |
parent | 14cd17a5fb607f61c1a971dc80da8d16e5fa03d6 (diff) |
nb/intel/haswell/gma.c: Use `config_of` in `gma_setup_panel`
This is to reduce differences between Haswell and Broadwell.
Change-Id: I8d6a8ee02e24bee22f0a7b69098ea8430095ba90
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46689
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r-- | src/northbridge/intel/haswell/gma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/haswell/gma.c b/src/northbridge/intel/haswell/gma.c index 5a6bb8e1de..2368e7bf86 100644 --- a/src/northbridge/intel/haswell/gma.c +++ b/src/northbridge/intel/haswell/gma.c @@ -287,7 +287,7 @@ static void init_display_planes(void) static void gma_setup_panel(struct device *dev) { - struct northbridge_intel_haswell_config *conf = dev->chip_info; + struct northbridge_intel_haswell_config *conf = config_of(dev); u32 reg32; printk(BIOS_DEBUG, "GT Power Management Init (post VBIOS)\n"); |