block/noenand: Convert sysbus init function to realize function
commit887c74ca19ceebffb59eb0e039e5d321f01b9641
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)
tree0eeb9825224c1a1f1d34a75614ebf6c26a9033e5
parent7f7420a09ffe2e89c7de0aec41b1953adcc254ca
block/noenand: Convert sysbus init function to realize function

Use DeviceClass rather than SysBusDeviceClass in
onenand_class_init().

Cc: kwolf@redhat.com
Cc: mreitz@redhat.com
Cc: qemu-block@nongnu.org
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-3-maozhongyi@cmss.chinamobile.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/block/onenand.c