mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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>
This commit is contained in:
parent
28e783aacb
commit
d24e638eb0
@ -43,15 +43,11 @@ static const char *virt_dt_match[] = {
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct sys_timer virt_timer = {
|
|
||||||
.init = virt_timer_init,
|
|
||||||
};
|
|
||||||
|
|
||||||
extern struct smp_operations virt_smp_ops;
|
extern struct smp_operations virt_smp_ops;
|
||||||
|
|
||||||
DT_MACHINE_START(VIRT, "Dummy Virtual Machine")
|
DT_MACHINE_START(VIRT, "Dummy Virtual Machine")
|
||||||
.init_irq = irqchip_init,
|
.init_irq = irqchip_init,
|
||||||
.timer = &virt_timer,
|
.init_time = virt_timer_init,
|
||||||
.init_machine = virt_init,
|
.init_machine = virt_init,
|
||||||
.smp = smp_ops(virt_smp_ops),
|
.smp = smp_ops(virt_smp_ops),
|
||||||
.dt_compat = virt_dt_match,
|
.dt_compat = virt_dt_match,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user