summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2018-05-29 01:27:19 +0200
committerPaolo Bonzini2018-06-01 14:15:10 +0200
commitb969ea6bcddbac3c1956f5b8d0cc49dbd17f59a2 (patch)
tree4d898b700bce336c02dbea322d9ffafc3bb7e249 /include
parenthw/ide: Remove unused include (diff)
downloadqemu-b969ea6bcddbac3c1956f5b8d0cc49dbd17f59a2.tar.gz
qemu-b969ea6bcddbac3c1956f5b8d0cc49dbd17f59a2.tar.xz
qemu-b969ea6bcddbac3c1956f5b8d0cc49dbd17f59a2.zip
hw: Clean "hw/devices.h" includes
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180528232719.4721-22-f4bug@amsat.org> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/devices.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/hw/devices.h b/include/hw/devices.h
index 861ddea8af..0e27feb0c2 100644
--- a/include/hw/devices.h
+++ b/include/hw/devices.h
@@ -1,13 +1,10 @@
#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;
-
/* Devices that have nowhere better to go. */
+#include "hw/hw.h"
+
/* smc91c111.c */
void smc91c111_init(NICInfo *, uint32_t, qemu_irq);