summaryrefslogtreecommitdiff
path: root/src/cpu/intel/model_1067x
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/model_1067x
parent06413ff513600ecb7ef7bf486d8871cce01b7d70 (diff)
{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/model_1067x')
-rw-r--r--src/cpu/intel/model_1067x/model_1067x_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/intel/model_1067x/model_1067x_init.c b/src/cpu/intel/model_1067x/model_1067x_init.c
index 8e44c784bc..8b20107ec4 100644
--- a/src/cpu/intel/model_1067x/model_1067x_init.c
+++ b/src/cpu/intel/model_1067x/model_1067x_init.c
@@ -86,7 +86,7 @@ static void configure_c_states(const int quad)
msr_t msr;
/* Find pointer to CPU configuration. */
- const device_t lapic = dev_find_lapic(SPEEDSTEP_APIC_MAGIC);
+ const struct device *lapic = dev_find_lapic(SPEEDSTEP_APIC_MAGIC);
const struct cpu_intel_model_1067x_config *const conf =
(lapic && lapic->chip_info) ? lapic->chip_info : NULL;
@@ -144,7 +144,7 @@ static void configure_p_states(const char stepping, const char cores)
msr_t msr;
/* Find pointer to CPU configuration. */
- const device_t lapic = dev_find_lapic(SPEEDSTEP_APIC_MAGIC);
+ const struct device *lapic = dev_find_lapic(SPEEDSTEP_APIC_MAGIC);
struct cpu_intel_model_1067x_config *const conf =
(lapic && lapic->chip_info) ? lapic->chip_info : NULL;
@@ -285,7 +285,7 @@ static void configure_pic_thermal_sensors(const int tm2, const int quad)
wrmsr(PIC_SENS_CFG, msr);
}
-static void model_1067x_init(device_t cpu)
+static void model_1067x_init(struct device *cpu)
{
char processor_name[49];