From e153a35029ac6ee5874a9cef45594410aa6e61b8 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Fri, 23 Oct 2020 14:53:59 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/46689 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/northbridge/intel/haswell/gma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");