summaryrefslogtreecommitdiffstats
path: root/hw/pci-host/q35.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-02-28 12:46:48 +0100
committerLaurent Vivier2020-03-09 15:59:31 +0100
commit71adf91a82ac3a34dbbbfc77ae9f06764bbb8553 (patch)
tree2a00dfe830768f9c51df3f5811c7d99086592a78 /hw/pci-host/q35.c
parenthw/i386: Include "hw/mem/nvdimm.h" (diff)
downloadqemu-71adf91a82ac3a34dbbbfc77ae9f06764bbb8553.tar.gz
qemu-71adf91a82ac3a34dbbbfc77ae9f06764bbb8553.tar.xz
qemu-71adf91a82ac3a34dbbbfc77ae9f06764bbb8553.zip
hw/pci-host/q35: Remove unused includes
Only q35.c requires declarations from "hw/i386/pc.h", move it there. Remove all the includes not used by "q35.h". Acked-by: John Snow <jsnow@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200228114649.12818-18-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/pci-host/q35.c')
-rw-r--r--hw/pci-host/q35.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c
index a9b9ccc876..993f467668 100644
--- a/hw/pci-host/q35.c
+++ b/hw/pci-host/q35.c
@@ -29,6 +29,7 @@
*/
#include "qemu/osdep.h"
+#include "hw/i386/pc.h"
#include "hw/pci-host/q35.h"
#include "hw/qdev-properties.h"
#include "migration/vmstate.h"