aboutsummaryrefslogtreecommitdiff
path: root/hw/pci/shpc.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-02-04 11:37:52 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-03-01 13:54:10 +0100
commitb4a42f81383d60900aae09513f42eb857a5a7c7c (patch)
tree952c4781da510cc183ec4770c9c00993d357d88d /hw/pci/shpc.c
parentfd7f0d66177ec1058a2a256856ff38fc9ceae5af (diff)
downloadqemu-b4a42f81383d60900aae09513f42eb857a5a7c7c.zip
qemu-b4a42f81383d60900aae09513f42eb857a5a7c7c.tar.gz
qemu-b4a42f81383d60900aae09513f42eb857a5a7c7c.tar.bz2
hw: move qdev-monitor.o to toplevel directory
qdev-monitor.c is the only "core qdev" file that is not used in user-mode emulation, and it does not define anything that is used by hardware models. Remove it from the hw/ directory and remove hw/qdev-monitor.h from hw/qdev.h too; this requires some files to have some new explicitly includes. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/pci/shpc.c')
-rw-r--r--hw/pci/shpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/pci/shpc.c b/hw/pci/shpc.c
index f07266d..d35c2ee 100644
--- a/hw/pci/shpc.c
+++ b/hw/pci/shpc.c
@@ -1,7 +1,8 @@
+#include "qemu-common.h"
#include <strings.h>
#include <stdint.h>
#include "qemu/range.h"
-#include "qemu/range.h"
+#include "qemu/error-report.h"
#include "hw/pci/shpc.h"
#include "hw/pci/pci.h"
#include "hw/pci/pci_bus.h"