hw/timer: QOM'ify pxa2xx_timer
authorxiaoqiang.zhao <zxq_yx_007@163.com>
Thu, 18 Feb 2016 14:16:21 +0000 (14:16 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 18 Feb 2016 14:50:51 +0000 (14:50 +0000)
commit5d83e348e7f6499f27b6431b0d91af8dcfb06763
tree14384280c7a13635eff94a14d9740f8efe0ab505
parent81dcc49463aa673f6cdad0ebc24cd66f6b98764b
hw/timer: QOM'ify pxa2xx_timer

* split the old SysBus init function into an instance_init
  and a Device realize function
* use DeviceClass::realize instead of SysBusDeviceClass::init

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/pxa2xx_timer.c