summaryrefslogtreecommitdiff
path: root/arch/arm/mach-virt/virt.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-virt/virt.c')
-rw-r--r--arch/arm/mach-virt/virt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-virt/virt.c b/arch/arm/mach-virt/virt.c
index f6ed9cfeb287..31666f6b4373 100644
--- a/arch/arm/mach-virt/virt.c
+++ b/arch/arm/mach-virt/virt.c
@@ -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,