hw/arm: QOM'ify stellaris.c
commit15c4fff5d89de7ce353fe5f2a3fdb6a052f5941f
authorxiaoqiang.zhao <zxq_yx_007@163.com>
Mon, 7 Mar 2016 07:05:48 +0000 (7 15:05 +0800)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 May 2016 12:42:10 +0000 (12 13:42 +0100)
treec661b2e8587caae9269ffcf6af6e5d670c1b7515
parentf68575c956324692b2703b0fdb3a697047bdcdde
hw/arm: QOM'ify stellaris.c

* Drop the use of old SysBus init function and use instance_init
* Use DeviceClass::vmsd instead of 'vmstate_register' function

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