char/grlib_apbuart: Convert sysbus init function to realize function
commitddaa6e049fc502fbd9cdaeb96d0c5e6c45878fb6
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)
treee1845df647548f63a2f393da7e614f0a48c1c190
parent887c74ca19ceebffb59eb0e039e5d321f01b9641
char/grlib_apbuart: Convert sysbus init function to realize function

Use DeviceClass rather than SysBusDeviceClass in
grlib_apbuart_class_init().

Cc: chouteau@adacore.com
Cc: marcandre.lureau@redhat.com
Cc: pbonzini@redhat.com
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-4-maozhongyi@cmss.chinamobile.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/char/grlib_apbuart.c