OSDN Git Service

gpio/puv3_gpio: Convert sysbus init function to realize function
authorMao Zhongyi <maozhongyi@cmss.chinamobile.com>
Thu, 13 Dec 2018 13:47:58 +0000 (13:47 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Dec 2018 13:47:58 +0000 (13:47 +0000)
commit671872b6731ed746f025566e3ef2bc8d5ec1a779
tree876ba24092b2e24fdc822ba2ab56289d3afea870
parent8ba7f72611bd879fa6c188dde64af3e09f8dad21
gpio/puv3_gpio: Convert sysbus init function to realize function

Use DeviceClass rather than SysBusDeviceClass in
puv3_gpio_class_init().

Cc: gxt@mprc.pku.edu.cn
Cc: peter.maydell@linaro.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-8-maozhongyi@cmss.chinamobile.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/gpio/puv3_gpio.c