diff options
author | Will Deacon <will.deacon@arm.com> | 2013-02-11 12:47:31 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-02-11 13:39:30 -0500 |
commit | d24e638eb0d0cdc38bd8a2b04c83d21fc5afd1c4 (patch) | |
tree | b3e1b84c36c343974a4e35f7ee587ea5ebdc171c /arch/arm | |
parent | 28e783aacba4b27793ed8032925d90ae5e0dd7ac (diff) |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-virt/virt.c | 6 |
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[] = { | |||
43 | NULL | 43 | NULL |
44 | }; | 44 | }; |
45 | 45 | ||
46 | static struct sys_timer virt_timer = { | ||
47 | .init = virt_timer_init, | ||
48 | }; | ||
49 | |||
50 | extern struct smp_operations virt_smp_ops; | 46 | extern struct smp_operations virt_smp_ops; |
51 | 47 | ||
52 | DT_MACHINE_START(VIRT, "Dummy Virtual Machine") | 48 | DT_MACHINE_START(VIRT, "Dummy Virtual Machine") |
53 | .init_irq = irqchip_init, | 49 | .init_irq = irqchip_init, |
54 | .timer = &virt_timer, | 50 | .init_time = virt_timer_init, |
55 | .init_machine = virt_init, | 51 | .init_machine = virt_init, |
56 | .smp = smp_ops(virt_smp_ops), | 52 | .smp = smp_ops(virt_smp_ops), |
57 | .dt_compat = virt_dt_match, | 53 | .dt_compat = virt_dt_match, |