]> git.proxmox.com Git - qemu.git/commit
milkymist-uart: Use Device::realize instead of SysBusDevice::init
authorAntony Pavlov <antonynpavlov@gmail.com>
Sat, 31 Aug 2013 17:22:40 +0000 (21:22 +0400)
committerAndreas Färber <afaerber@suse.de>
Tue, 5 Nov 2013 16:47:29 +0000 (17:47 +0100)
commitc77dd5f6140acd62ba73fbb8b8144c42c003b995
treea84c5e9169495425f666a5fe1d748f45f95dc957
parent7c41f2177e280dec1f1d4c5cd72333c5c55943af
milkymist-uart: Use Device::realize instead of SysBusDevice::init

Use of SysBusDevice::init is deprecated. Use Device::realize instead.

Also introduce TypeInfo::instance_init milkymist_uart_init().

Reported-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/char/milkymist-uart.c