hw/timer/sun4v-rtc: Use DeviceState::realize rather than SysBusDevice::init
commite871972e65edab552cd62a5cdd28cef049cc795b
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 2 Oct 2018 21:25:12 +0000 (2 23:25 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 24 Oct 2018 09:44:59 +0000 (24 06:44 -0300)
tree77faa8ccfb867ab810ddeadfda51b4b38190aeda
parent252bfbdec04b698cbcdc5779ecb07faa2bc48ae0
hw/timer/sun4v-rtc: 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-4-f4bug@amsat.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/timer/sun4v-rtc.c