hw/sh4/sh_pci: Use DeviceState::realize rather than SysBusDevice::init
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 2 Oct 2018 21:25:14 +0000 (23:25 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 24 Oct 2018 09:44:59 +0000 (06:44 -0300)
commit0e372e5853818e731e6fc6cf26ae62acf2179b35
tree13a945d312a3d659323bec6455ce6f085cf75fa4
parenta7e1562ca2aaf59f0eac042bee4199386819d996
hw/sh4/sh_pci: Use DeviceState::realize rather than SysBusDevice::init

Move from the legacy SysBusDevice::init method to using DeviceState::realize.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20181002212522.23303-6-f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/sh4/sh_pci.c