hw/ssi/xilinx_spi: Use DeviceState::realize rather than SysBusDevice::init
commita7e1562ca2aaf59f0eac042bee4199386819d996
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 2 Oct 2018 21:25:13 +0000 (2 23:25 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 24 Oct 2018 09:44:59 +0000 (24 06:44 -0300)
treebd57e0bb1d40f6fc3f6c034f6426d7df3fc23c82
parente871972e65edab552cd62a5cdd28cef049cc795b
hw/ssi/xilinx_spi: 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>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20181002212522.23303-5-f4bug@amsat.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/ssi/xilinx_spi.c