core/empty_slot: Convert sysbus init function to realize function
commit4dbf209d424e234bdb45af2709fa9e4f6a2df8c0
authorMao Zhongyi <maozhongyi@cmss.chinamobile.com>
Thu, 13 Dec 2018 13:47:57 +0000 (13 13:47 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Dec 2018 13:47:57 +0000 (13 13:47 +0000)
tree205c9e0c44a105e9b35c68bf1d473a32e413d402
parentddaa6e049fc502fbd9cdaeb96d0c5e6c45878fb6
core/empty_slot: Convert sysbus init function to realize function

Use DeviceClass rather than SysBusDeviceClass in
empty_slot_class_init().

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-5-maozhongyi@cmss.chinamobile.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/core/empty_slot.c