summaryrefslogtreecommitdiff
path: root/src/cpu/intel/model_2065x
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/intel/model_2065x')
-rw-r--r--src/cpu/intel/model_2065x/acpi.c2
-rw-r--r--src/cpu/intel/model_2065x/model_2065x_init.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/cpu/intel/model_2065x/acpi.c b/src/cpu/intel/model_2065x/acpi.c
index d0be5022af..870020fbb5 100644
--- a/src/cpu/intel/model_2065x/acpi.c
+++ b/src/cpu/intel/model_2065x/acpi.c
@@ -89,7 +89,7 @@ static int generate_C_state_entries(void)
struct cpu_info *info;
struct cpu_driver *cpu;
int len, lenif;
- device_t lapic;
+ struct device *lapic;
struct cpu_intel_model_2065x_config *conf = NULL;
/* Find the SpeedStep CPU in the device tree using magic APIC ID */
diff --git a/src/cpu/intel/model_2065x/model_2065x_init.c b/src/cpu/intel/model_2065x/model_2065x_init.c
index 9a2afa41d9..f79aba564b 100644
--- a/src/cpu/intel/model_2065x/model_2065x_init.c
+++ b/src/cpu/intel/model_2065x/model_2065x_init.c
@@ -182,7 +182,7 @@ int cpu_config_tdp_levels(void)
static void configure_thermal_target(void)
{
struct cpu_intel_model_2065x_config *conf;
- device_t lapic;
+ struct device *lapic;
msr_t msr;
/* Find pointer to CPU configuration */
@@ -286,7 +286,7 @@ static void configure_mca(void)
/*
* Initialize any extra cores/threads in this package.
*/
-static void intel_cores_init(device_t cpu)
+static void intel_cores_init(struct device *cpu)
{
struct cpuid_result result;
unsigned threads_per_package, threads_per_core, i;
@@ -309,7 +309,7 @@ static void intel_cores_init(device_t cpu)
for (i = 1; i < threads_per_package; ++i) {
struct device_path cpu_path;
- device_t new;
+ struct device *new;
/* Build the cpu device path */
cpu_path.type = DEVICE_PATH_APIC;
@@ -337,7 +337,7 @@ static void intel_cores_init(device_t cpu)
}
}
-static void model_2065x_init(device_t cpu)
+static void model_2065x_init(struct device *cpu)
{
char processor_name[49];
struct cpuid_result cpuid_regs;