{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:
@@ -26,7 +26,7 @@
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include <cpu/x86/cache.h>
|
||||
|
||||
static void c3_init(device_t dev)
|
||||
static void c3_init(struct device *dev)
|
||||
{
|
||||
x86_enable_cache();
|
||||
x86_setup_mtrrs();
|
||||
|
||||
@@ -147,7 +147,7 @@ static void set_c7_speed(int model) {
|
||||
printk(BIOS_INFO, "Current CPU multiplier: %dx\n", (int)((msr.lo >> 8) & 0xff));
|
||||
}
|
||||
|
||||
static void c7_init(device_t dev)
|
||||
static void c7_init(struct device *dev)
|
||||
{
|
||||
u8 brand;
|
||||
struct cpuinfo_x86 c;
|
||||
|
||||
@@ -139,7 +139,7 @@ static void nano_power(void)
|
||||
wrmsr(MSR_IA32_MISC_ENABLE, msr);
|
||||
}
|
||||
|
||||
static void nano_init(device_t dev)
|
||||
static void nano_init(struct device *dev)
|
||||
{
|
||||
struct cpuinfo_x86 c;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user