summaryrefslogtreecommitdiff
path: root/hw/pci
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-04-16 19:13:14 +0200
committerLaurent Vivier <laurent@vivier.eu>2021-05-02 17:24:51 +0200
commitee86213aa3ff73c49ced340e4d409943a1f752a3 (patch)
tree1a6a095da03fe21529998e95458f9bd50247ffca /hw/pci
parent2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1 (diff)
Do not include exec/address-spaces.h if it's not really necessary
Stop including exec/address-spaces.h in files that don't need it. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210416171314.2074665-5-thuth@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/pci')
-rw-r--r--hw/pci/pci.c1
-rw-r--r--hw/pci/pcie_host.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/hw/pci/pci.c b/hw/pci/pci.c
index 8f35e13a0c..377084f1a8 100644
--- a/hw/pci/pci.c
+++ b/hw/pci/pci.c
@@ -45,7 +45,6 @@
#include "trace.h"
#include "hw/pci/msi.h"
#include "hw/pci/msix.h"
-#include "exec/address-spaces.h"
#include "hw/hotplug.h"
#include "hw/boards.h"
#include "qapi/error.h"
diff --git a/hw/pci/pcie_host.c b/hw/pci/pcie_host.c
index 3534006f99..5abbe83220 100644
--- a/hw/pci/pcie_host.c
+++ b/hw/pci/pcie_host.c
@@ -23,7 +23,6 @@
#include "hw/pci/pci.h"
#include "hw/pci/pcie_host.h"
#include "qemu/module.h"
-#include "exec/address-spaces.h"
/* a helper function to get a PCIDevice for a given mmconfig address */
static inline PCIDevice *pcie_dev_find_by_mmcfg_addr(PCIBus *s,