summary refs log tree commit diff stats
path: root/hw/alpha/pci.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2022-12-22 11:03:24 +0100
committerMichael S. Tsirkin <mst@redhat.com>2023-01-08 01:54:22 -0500
commit674b0a5784a5c0fc5d954b9f42fc1eb1a9648bf0 (patch)
treead8fac09c39f38e9f4a57c5bc664a548357379c9 /hw/alpha/pci.c
parent9d94c21363537903a594a3f44d2cf7fa7d4b2ea7 (diff)
downloadfocaccia-qemu-674b0a5784a5c0fc5d954b9f42fc1eb1a9648bf0.tar.gz
focaccia-qemu-674b0a5784a5c0fc5d954b9f42fc1eb1a9648bf0.zip
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>
Diffstat (limited to 'hw/alpha/pci.c')
-rw-r--r--hw/alpha/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/alpha/pci.c b/hw/alpha/pci.c
index 72251fcdf0..7c18297177 100644
--- a/hw/alpha/pci.c
+++ b/hw/alpha/pci.c
@@ -7,6 +7,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "hw/pci/pci_host.h"
 #include "alpha_sys.h"
 #include "qemu/log.h"
 #include "trace.h"