From 2c9d2cf75c6b12132f1f2c43ef9c01b51f741d26 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Mon, 27 Oct 2014 23:29:29 +1100 Subject: {arch,cpu,drivers,ec}: Don't hide pointers behind typedefs Change-Id: Id88bb4367d6045f6fbf185f0562ac72c04ee5f84 Signed-off-by: Edward O'Callaghan Signed-off-by: Nico Huber Reviewed-on: http://review.coreboot.org/7146 Tested-by: build bot (Jenkins) --- src/cpu/intel/speedstep/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/intel/speedstep') diff --git a/src/cpu/intel/speedstep/acpi.c b/src/cpu/intel/speedstep/acpi.c index 483e81309e..98d1ee7c3e 100644 --- a/src/cpu/intel/speedstep/acpi.c +++ b/src/cpu/intel/speedstep/acpi.c @@ -44,7 +44,7 @@ int __attribute__((weak)) get_cst_entries(acpi_cstate_t **entries static int determine_total_number_of_cores(void) { - device_t cpu; + struct device *cpu; int count = 0; for(cpu = all_devices; cpu; cpu = cpu->next) { if ((cpu->path.type != DEVICE_PATH_APIC) || -- cgit v1.2.3