milkymist-hpdmc: Convert sysbus init function to realize function
commit0f2eabce0d3a48bdbd3d30d7573a305095d35463
authorMao Zhongyi <maozhongyi@cmss.chinamobile.com>
Thu, 13 Dec 2018 13:47:59 +0000 (13 13:47 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Dec 2018 13:47:59 +0000 (13 13:47 +0000)
tree40da03371159c3f3b47669d85a674e0b601b631d
parent2f59de8877bc812659425997da617f0b6ce4a99d
milkymist-hpdmc: Convert sysbus init function to realize function

Use DeviceClass rather than SysBusDeviceClass in
milkymist_hpdmc_class_init().

Cc: gxt@mprc.pku.edu.cn
Cc: michael@walle.cc
Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com>
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20181130093852.20739-12-maozhongyi@cmss.chinamobile.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/milkymist-hpdmc.c