milkymist-softusb: Convert sysbus init function to realize function
commitf1e321a8dc65363db77bcab66ca7917e34302226
authorMao Zhongyi <maozhongyi@cmss.chinamobile.com>
Thu, 13 Dec 2018 13:47:58 +0000 (13 13:47 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Dec 2018 13:47:58 +0000 (13 13:47 +0000)
treecf98785e16a4211b6c081810eb23f44e130930b2
parent671872b6731ed746f025566e3ef2bc8d5ec1a779
milkymist-softusb: Convert sysbus init function to realize function

Use DeviceClass rather than SysBusDeviceClass in
milkymist_softusb_class_init().

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-9-maozhongyi@cmss.chinamobile.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/input/milkymist-softusb.c