usb/hcd-ehci: Split off instance_init from realize
commitd4614cc3121b3c6375a63d01947779e36149c68c
authorAndreas Färber <afaerber@suse.de>
Thu, 6 Jun 2013 13:41:10 +0000 (6 15:41 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 24 Jun 2013 06:23:10 +0000 (24 08:23 +0200)
treea6fc1a146e46f9fcb32230649be931ccae159941
parent08f4c90b2887a4499a2f199cf9410308f8ed298c
usb/hcd-ehci: Split off instance_init from realize

This makes the mem MemoryRegion available to derived instance_inits.

Keep the bus in realize for now since naming breaks in instance_init.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-ehci-pci.c
hw/usb/hcd-ehci-sysbus.c
hw/usb/hcd-ehci.c
hw/usb/hcd-ehci.h