hw/timer: QOM'ify arm_timer (pass 2)
authorxiaoqiang.zhao <zxq_yx_007@163.com>
Thu, 18 Feb 2016 14:16:20 +0000 (14:16 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 18 Feb 2016 14:50:50 +0000 (14:50 +0000)
commitd712a5a2a473ca545e967d8fb07a9ed4080c98d0
tree328244566cae6044fb1f80152d2c6d57972990df
parent0d175e745f91fe2177f634676c34d450fd66e518
hw/timer: QOM'ify arm_timer (pass 2)

assign DeviceClass::vmsd instead of using vmstate_register function

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/timer/arm_timer.c