cpu/amd: Get rid of device_t
Use of `device_t` has been abandoned in ramstage. Change-Id: I4b930a191130941c8349861cdd803a5be4219274 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/23653 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
fc1b49691f
commit
d2d8a31305
@@ -31,7 +31,7 @@
|
||||
#include <cpu/amd/amdfam15.h>
|
||||
#include <arch/acpi.h>
|
||||
|
||||
static void model_15_init(device_t dev)
|
||||
static void model_15_init(struct device *dev)
|
||||
{
|
||||
printk(BIOS_DEBUG, "Model 15 Init.\n");
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ void PSPProgBar3Msr(void *Buffer)
|
||||
LibAmdMsrRead(0xC00110A2, &Tmp64, NULL);
|
||||
}
|
||||
|
||||
static void model_15_init(device_t dev)
|
||||
static void model_15_init(struct device *dev)
|
||||
{
|
||||
printk(BIOS_DEBUG, "Model 15 Init.\n");
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <cpu/amd/amdfam16.h>
|
||||
#include <arch/acpi.h>
|
||||
|
||||
static void model_16_init(device_t dev)
|
||||
static void model_16_init(struct device *dev)
|
||||
{
|
||||
printk(BIOS_DEBUG, "Model 16 Init.\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user