summary refs log tree commit diff stats
path: root/include/hw/misc/sifive_u_prci.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2022-12-22 13:08:11 +0100
committerMichael S. Tsirkin <mst@redhat.com>2023-01-08 01:54:22 -0500
commit7a5951f651ad5f158631a826070b24631e733763 (patch)
treeb114cc7b294fb3a8fc754a040f7a88af2aceeac1 /include/hw/misc/sifive_u_prci.h
parentf139b83717092b4080b85d6edde699d89e41a04c (diff)
downloadfocaccia-qemu-7a5951f651ad5f158631a826070b24631e733763.tar.gz
focaccia-qemu-7a5951f651ad5f158631a826070b24631e733763.zip
include: Include headers where needed
A number of headers neglect to include everything they need.  They
compile only if the headers they need are already included from
elsewhere.  Fix that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20221222120813.727830-3-armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/misc/sifive_u_prci.h')
-rw-r--r--include/hw/misc/sifive_u_prci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/misc/sifive_u_prci.h b/include/hw/misc/sifive_u_prci.h
index d9ebf40b7f..4d2491ad46 100644
--- a/include/hw/misc/sifive_u_prci.h
+++ b/include/hw/misc/sifive_u_prci.h
@@ -18,7 +18,8 @@
 
 #ifndef HW_SIFIVE_U_PRCI_H
 #define HW_SIFIVE_U_PRCI_H
-#include "qom/object.h"
+
+#include "hw/sysbus.h"
 
 #define SIFIVE_U_PRCI_HFXOSCCFG     0x00
 #define SIFIVE_U_PRCI_COREPLLCFG0   0x04