OSDN Git Service

hw/timer: QOM'ify slavio_timer
authorxiaoqiang zhao <zxq_yx_007@163.com>
Thu, 25 May 2017 13:34:49 +0000 (21:34 +0800)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 2 Jun 2017 04:54:43 +0000 (05:54 +0100)
commit4410b94cce207c6ee93541cae78b38f64a39f5eb
treef44b4cb0efb931fb718f6a99749006bda59e55ea
parentc04e34a9823f8d2ff19ed2b9b3128c8b3e498c01
hw/timer: QOM'ify slavio_timer

rename slavio_timer_init1 to slavio_timer_init and assign
it to slavio_timer_info.instance_init, then we drop the
SysBusDeviceClass::init

Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/timer/slavio_timer.c