commit | 3c8b5d00c3e52d4149ff842f674ce0f68cd86509 | [log] [tgz] |
---|---|---|
author | Elyes HAOUAS <ehaouas@noos.fr> | Sun May 27 16:57:24 2018 +0200 |
committer | Martin Roth <martinroth@google.com> | Fri Jun 01 16:26:25 2018 +0000 |
tree | cc5fa9484f53de0400aaff6214611d35bb7b54d7 | |
parent | 040aff27458ff2e41052c14cf4a981641313a3f6 [diff] [blame] |
soc/intel/cannonlake: Get rid of device_t Use of device_t has been abandoned in ramstage. Change-Id: Iea56a6560bb23d48d19211304e57fc08e1c27fd6 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26584 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/soc/intel/cannonlake/pmc.c b/src/soc/intel/cannonlake/pmc.c index c6c1694..ecd47e0 100644 --- a/src/soc/intel/cannonlake/pmc.c +++ b/src/soc/intel/cannonlake/pmc.c
@@ -137,7 +137,7 @@ static void pmc_init(void *unused) { - device_t dev = PCH_DEV_PMC; + struct device *dev = PCH_DEV_PMC; config_t *config = dev->chip_info; rtc_init();