aboutsummaryrefslogtreecommitdiff
path: root/hw/devices.h
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2012-10-16 03:57:21 +0200
committerAndreas Färber <afaerber@suse.de>2012-11-15 01:57:02 +0100
commit5202ef942fb986011a31d9366fbf93a56f0056e4 (patch)
treed7dc9a8bee1cbce041f0bfae8c320e23d472f731 /hw/devices.h
parent04509ad939a7878b487b29e3500b79b5e2c1de35 (diff)
Move qemu_irq typedef out of qemu-common.h
It's necessary for making CPU child of DEVICE without causing circular header deps. Signed-off-by: Igor Mammedov <imammedo@redhat.com> [ehabkost: re-added the typedef to hw/irq.h after rebasing] Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/devices.h')
-rw-r--r--hw/devices.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/devices.h b/hw/devices.h
index 1a55c1e905..c60bcabae3 100644
--- a/hw/devices.h
+++ b/hw/devices.h
@@ -1,6 +1,8 @@
#ifndef QEMU_DEVICES_H
#define QEMU_DEVICES_H
+#include "hw/irq.h"
+
/* ??? Not all users of this file can include cpu-common.h. */
struct MemoryRegion;