cadence_uart: Convert to QOM realize()
commit96f209264f642365052983dcb50a0f3d7b688f6b
authorAlistair Francis <alistair.francis@xilinx.com>
Fri, 27 Feb 2015 01:48:58 +0000 (27 11:48 +1000)
committerAndreas Färber <afaerber@suse.de>
Tue, 17 Mar 2015 13:06:36 +0000 (17 14:06 +0100)
tree7c4ee2ccbca6464194a3cf77a6cf1cd49888909c
parent5a4992834daec85c3913654903fb9f4f954e585a
cadence_uart: Convert to QOM realize()

Use DeviceClass::realize() and TypeInfo::instance_init() instead of
the deprecated SysBusDevice::init().

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/char/cadence_uart.c