aboutsummaryrefslogtreecommitdiff
path: root/drivers/cpu/cpu_sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpu/cpu_sandbox.c')
-rw-r--r--drivers/cpu/cpu_sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpu/cpu_sandbox.c b/drivers/cpu/cpu_sandbox.c
index df8a70220e1..fe6772ba5ac 100644
--- a/drivers/cpu/cpu_sandbox.c
+++ b/drivers/cpu/cpu_sandbox.c
@@ -64,7 +64,7 @@ static const struct cpu_ops cpu_sandbox_ops = {
static int cpu_sandbox_bind(struct udevice *dev)
{
int ret;
- struct cpu_platdata *plat = dev_get_parent_plat(dev);
+ struct cpu_plat *plat = dev_get_parent_plat(dev);
/* first examine the property in current cpu node */
ret = dev_read_u32(dev, "timebase-frequency", &plat->timebase_freq);