From adbecc89731cf3e0ae656d50ea9fa58c589c4bdc Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 9 Sep 2013 10:18:17 +0200 Subject: ehci: save device pointer in EHCIState We'll need a pointer to the actual pci/sysbus device, stick a pointer to it into the EHCIState struct. https://bugzilla.redhat.com/show_bug.cgi?id=1005495 Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-ehci.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/usb/hcd-ehci.h') diff --git a/hw/usb/hcd-ehci.h b/hw/usb/hcd-ehci.h index 15a28e8b31..065c9fa741 100644 --- a/hw/usb/hcd-ehci.h +++ b/hw/usb/hcd-ehci.h @@ -255,6 +255,7 @@ typedef QTAILQ_HEAD(EHCIQueueHead, EHCIQueue) EHCIQueueHead; struct EHCIState { USBBus bus; + DeviceState *device; qemu_irq irq; MemoryRegion mem; AddressSpace *as; -- cgit v1.2.1