mirror of https://gitee.com/openkylin/qemu.git
hw/timer/arm_mptimer.c: Undo accidental rename of arm_mptimer_init()
In commitb01422622b
we did an automated rename of the ptimer_init() function to ptimer_init_with_bh(). Unfortunately this caught the unrelated arm_mptimer_init() function. Undo that accidental renaming. Fixes:b01422622b
Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20191017133331.5901-1-peter.maydell@linaro.org
This commit is contained in:
parent
1a391e20c3
commit
a1f9a907ea
|
@ -237,7 +237,7 @@ static void arm_mptimer_reset(DeviceState *dev)
|
|||
}
|
||||
}
|
||||
|
||||
static void arm_mptimer_init_with_bh(Object *obj)
|
||||
static void arm_mptimer_init(Object *obj)
|
||||
{
|
||||
ARMMPTimerState *s = ARM_MPTIMER(obj);
|
||||
|
||||
|
@ -319,7 +319,7 @@ static const TypeInfo arm_mptimer_info = {
|
|||
.name = TYPE_ARM_MPTIMER,
|
||||
.parent = TYPE_SYS_BUS_DEVICE,
|
||||
.instance_size = sizeof(ARMMPTimerState),
|
||||
.instance_init = arm_mptimer_init_with_bh,
|
||||
.instance_init = arm_mptimer_init,
|
||||
.class_init = arm_mptimer_class_init,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue