mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
include/hw/pci: Break inclusion loop pci_bridge.h and cxl.h
hw/pci/pci_bridge.h and hw/cxl/cxl.h include each other. Fortunately, breaking the loop is merely a matter of deleting unnecessary includes from headers, and adding them back in places where they are now missing. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20221222100330.380143-2-armbru@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
9d94c21363
commit
674b0a5784
26 changed files with 10 additions and 30 deletions
|
@ -22,9 +22,6 @@
|
|||
#define DESIGNWARE_H
|
||||
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/pci/pci_bus.h"
|
||||
#include "hw/pci/pcie_host.h"
|
||||
#include "hw/pci/pci_bridge.h"
|
||||
#include "qom/object.h"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#ifndef HW_PCI_I440FX_H
|
||||
#define HW_PCI_I440FX_H
|
||||
|
||||
#include "hw/pci/pci_bus.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/pci-host/pam.h"
|
||||
#include "qom/object.h"
|
||||
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
#ifndef HW_LS7A_H
|
||||
#define HW_LS7A_H
|
||||
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/pci/pcie_host.h"
|
||||
#include "hw/pci-host/pam.h"
|
||||
#include "qemu/units.h"
|
||||
#include "qemu/range.h"
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
#ifndef PCI_HOST_PNV_PHB3_H
|
||||
#define PCI_HOST_PNV_PHB3_H
|
||||
|
||||
#include "hw/pci/pcie_host.h"
|
||||
#include "hw/pci/pcie_port.h"
|
||||
#include "hw/ppc/xics.h"
|
||||
#include "qom/object.h"
|
||||
#include "hw/pci-host/pnv_phb.h"
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
#ifndef PCI_HOST_PNV_PHB4_H
|
||||
#define PCI_HOST_PNV_PHB4_H
|
||||
|
||||
#include "hw/pci/pcie_host.h"
|
||||
#include "hw/pci/pcie_port.h"
|
||||
#include "hw/pci/pci_bus.h"
|
||||
#include "hw/ppc/xive.h"
|
||||
#include "qom/object.h"
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#define HW_XILINX_PCIE_H
|
||||
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/pci/pci_bridge.h"
|
||||
#include "hw/pci/pcie_host.h"
|
||||
#include "qom/object.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue