summaryrefslogtreecommitdiff
path: root/src/cpu/intel/speedstep
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-02-08 13:05:16 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-04-30 09:23:58 +0000
commitf925c56fe9e99811ba2e8f012d9116cac3092f96 (patch)
tree7c0870996446e7776d57a2cc7dd145808453e7d6 /src/cpu/intel/speedstep
parentd2d8a31305d83dd6c068d51a7f002377f5b5a0a5 (diff)
cpu/intel: Get rid of device_t
Use of `device_t` has been abandoned in ramstage. Change-Id: I17675b004023453f137abd387cfacd308d9b98b5 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/23652 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/cpu/intel/speedstep')
-rw-r--r--src/cpu/intel/speedstep/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/intel/speedstep/acpi.c b/src/cpu/intel/speedstep/acpi.c
index 73b7431608..0feaa2f4c2 100644
--- a/src/cpu/intel/speedstep/acpi.c
+++ b/src/cpu/intel/speedstep/acpi.c
@@ -113,7 +113,7 @@ static void gen_pstate_entries(const sst_table_t *const pstates,
/**
* @brief Generate ACPI entries for Speedstep for each cpu
*/
-void generate_cpu_entries(device_t device)
+void generate_cpu_entries(struct device *device)
{
int coreID, cpuID, pcontrol_blk = PMB0_BASE, plen = 6;
int totalcores = determine_total_number_of_cores();