Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Will Deacon and committed by
Olof Johansson
d24e638e 28e783aa

+1 -5
+1 -5
arch/arm/mach-virt/virt.c
··· 43 43 NULL 44 44 }; 45 45 46 - static struct sys_timer virt_timer = { 47 - .init = virt_timer_init, 48 - }; 49 - 50 46 extern struct smp_operations virt_smp_ops; 51 47 52 48 DT_MACHINE_START(VIRT, "Dummy Virtual Machine") 53 49 .init_irq = irqchip_init, 54 - .timer = &virt_timer, 50 + .init_time = virt_timer_init, 55 51 .init_machine = virt_init, 56 52 .smp = smp_ops(virt_smp_ops), 57 53 .dt_compat = virt_dt_match,