Skip to content

Commit d24e638

Browse files
wildea01olofj
authored andcommitted
ARM: mach-virt: fixup machine descriptor after removal of sys_timer
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>
1 parent 28e783a commit d24e638

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎arch/arm/mach-virt/virt.c‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,11 @@ static const char *virt_dt_match[] = {
4343
NULL
4444
};
4545

46-
static struct sys_timer virt_timer = {
47-
.init = virt_timer_init,
48-
};
49-
5046
extern struct smp_operations virt_smp_ops;
5147

5248
DT_MACHINE_START(VIRT, "Dummy Virtual Machine")
5349
.init_irq = irqchip_init,
54-
.timer = &virt_timer,
50+
.init_time = virt_timer_init,
5551
.init_machine = virt_init,
5652
.smp = smp_ops(virt_smp_ops),
5753
.dt_compat = virt_dt_match,

0 commit comments

Comments
 (0)