diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-27 16:57:24 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-06-01 16:26:25 +0000 |
commit | 3c8b5d00c3e52d4149ff842f674ce0f68cd86509 (patch) | |
tree | cc5fa9484f53de0400aaff6214611d35bb7b54d7 /src/soc/intel/cannonlake/acpi.c | |
parent | 040aff27458ff2e41052c14cf4a981641313a3f6 (diff) |
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>
Diffstat (limited to 'src/soc/intel/cannonlake/acpi.c')
-rw-r--r-- | src/soc/intel/cannonlake/acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/cannonlake/acpi.c b/src/soc/intel/cannonlake/acpi.c index 0134b86865..97d5ce7aa6 100644 --- a/src/soc/intel/cannonlake/acpi.c +++ b/src/soc/intel/cannonlake/acpi.c @@ -142,7 +142,7 @@ acpi_cstate_t *soc_get_cstate_map(size_t *entries) ARRAY_SIZE(cstate_set_non_s0ix))]; int *set; int i; - device_t dev = SA_DEV_ROOT; + struct device *dev = SA_DEV_ROOT; config_t *config = dev->chip_info; int is_s0ix_enable = config->s0ix_enable; @@ -163,7 +163,7 @@ acpi_cstate_t *soc_get_cstate_map(size_t *entries) void soc_power_states_generation(int core_id, int cores_per_package) { - device_t dev = SA_DEV_ROOT; + struct device *dev = SA_DEV_ROOT; config_t *config = dev->chip_info; if (config->eist_enable) /* Generate P-state tables */ |