summaryrefslogtreecommitdiff
path: root/src/cpu/intel/fsp_model_406dx
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-10-27 23:29:29 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-10-27 23:40:05 +0100
commit2c9d2cf75c6b12132f1f2c43ef9c01b51f741d26 (patch)
tree0417773090bacd02049d04ce11d27c84609d0272 /src/cpu/intel/fsp_model_406dx
parent06413ff513600ecb7ef7bf486d8871cce01b7d70 (diff)
downloadcoreboot-2c9d2cf75c6b12132f1f2c43ef9c01b51f741d26.tar.xz
{arch,cpu,drivers,ec}: Don't hide pointers behind typedefs
Change-Id: Id88bb4367d6045f6fbf185f0562ac72c04ee5f84 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: http://review.coreboot.org/7146 Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/cpu/intel/fsp_model_406dx')
-rw-r--r--src/cpu/intel/fsp_model_406dx/acpi.c2
-rw-r--r--src/cpu/intel/fsp_model_406dx/model_406dx_init.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/intel/fsp_model_406dx/acpi.c b/src/cpu/intel/fsp_model_406dx/acpi.c
index a3108acde8..24f63cdf9d 100644
--- a/src/cpu/intel/fsp_model_406dx/acpi.c
+++ b/src/cpu/intel/fsp_model_406dx/acpi.c
@@ -55,7 +55,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_406dx_config *conf = NULL;
/* Find the SpeedStep CPU in the device tree using magic APIC ID */
diff --git a/src/cpu/intel/fsp_model_406dx/model_406dx_init.c b/src/cpu/intel/fsp_model_406dx/model_406dx_init.c
index 3a3628103c..d892277463 100644
--- a/src/cpu/intel/fsp_model_406dx/model_406dx_init.c
+++ b/src/cpu/intel/fsp_model_406dx/model_406dx_init.c
@@ -112,7 +112,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;
@@ -135,7 +135,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;
@@ -166,7 +166,7 @@ static void intel_cores_init(device_t cpu)
}
}
-static void model_406dx_init(device_t cpu)
+static void model_406dx_init(struct device *cpu)
{
char processor_name[49];