aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib/mpspec.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/mpspec.c')
-rw-r--r--arch/x86/lib/mpspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/mpspec.c b/arch/x86/lib/mpspec.c
index d6f0e9517fa..562a27c5579 100644
--- a/arch/x86/lib/mpspec.c
+++ b/arch/x86/lib/mpspec.c
@@ -81,7 +81,7 @@ void mp_write_processor(struct mp_config_table *mc)
for (uclass_find_first_device(UCLASS_CPU, &dev);
dev;
uclass_find_next_device(&dev)) {
- struct cpu_platdata *plat = dev_get_parent_plat(dev);
+ struct cpu_plat *plat = dev_get_parent_plat(dev);
u8 cpuflag = MPC_CPU_EN;
if (!device_active(dev))