{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)
This commit is contained in:
@@ -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_fsp_model_206ax_config *conf = NULL;
|
||||
|
||||
/* Find the SpeedStep CPU in the device tree using magic APIC ID */
|
||||
|
||||
@@ -290,7 +290,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;
|
||||
@@ -313,7 +313,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;
|
||||
@@ -344,7 +344,7 @@ static void intel_cores_init(device_t cpu)
|
||||
}
|
||||
}
|
||||
|
||||
static void model_206ax_init(device_t cpu)
|
||||
static void model_206ax_init(struct device *cpu)
|
||||
{
|
||||
char processor_name[49];
|
||||
struct cpuid_result cpuid_regs;
|
||||
|
||||
Reference in New Issue
Block a user