soc/intel: Use config_of()
Change-Id: I0727a6b327410197cf32f598d1312737744386b3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34328 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: David Guckian
This commit is contained in:
@@ -36,7 +36,7 @@ uintptr_t fsp_soc_get_igd_bar(void)
|
||||
|
||||
static void graphics_setup_panel(struct device *dev)
|
||||
{
|
||||
struct soc_intel_skylake_config *conf = dev->chip_info;
|
||||
struct soc_intel_skylake_config *conf = config_of(dev);
|
||||
struct resource *mmio_res;
|
||||
uint8_t *base;
|
||||
u32 reg32;
|
||||
|
Reference in New Issue
Block a user