Skip to content

Commit

Permalink
ARM: mach-virt: fixup machine descriptor after removal of sys_timer
Browse files Browse the repository at this point in the history
Now that sys_timer has been removed, update the mach-virt machine
descriptor to use a direct pointer to its timer_init function.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Will Deacon authored and Olof Johansson committed Feb 11, 2013
1 parent 28e783a commit d24e638
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions arch/arm/mach-virt/virt.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,11 @@ static const char *virt_dt_match[] = {
NULL
};

static struct sys_timer virt_timer = {
.init = virt_timer_init,
};

extern struct smp_operations virt_smp_ops;

DT_MACHINE_START(VIRT, "Dummy Virtual Machine")
.init_irq = irqchip_init,
.timer = &virt_timer,
.init_time = virt_timer_init,
.init_machine = virt_init,
.smp = smp_ops(virt_smp_ops),
.dt_compat = virt_dt_match,
Expand Down

0 comments on commit d24e638

Please sign in to comment.