puv3_pm.c: Convert sysbus init function to realize function
commit96cd4594989940852eb4aa91e6d3f8e777c98f42
authorMao Zhongyi <maozhongyi@cmss.chinamobile.com>
Thu, 13 Dec 2018 13:48:00 +0000 (13 13:48 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Dec 2018 13:48:00 +0000 (13 13:48 +0000)
tree822ff3eb789000c4b39eb18ef93ff7209873a817
parent6b14e87399bf585a010594e64e9cdebe579acc76
puv3_pm.c: Convert sysbus init function to realize function

Use DeviceClass rather than SysBusDeviceClass in
puv3_pm_class_init().

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